summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorK9002020-08-17 15:03:19 +0300
committerK9002020-08-17 15:03:19 +0300
commit135d05fcd013a03827a983efa8953df4ab0d054a (patch)
tree306383501a64156c316286921ef47c1052814cd0
downloadaur-135d05fcd013a03827a983efa8953df4ab0d054a.tar.gz
first commit
-rw-r--r--.SRCINFO21
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD25
3 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b9a7908ce2e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = windows2usb
+ pkgdesc = Windows 7/8/8.1/10 ISO to Flash Drive burning utility for Linux (MBR/GPT, BIOS/UEFI, FAT32/NTFS)
+ pkgver = 0.1.6
+ pkgrel = 1
+ url = https://github.com/ValdikSS/windows2usb
+ arch = any
+ license = Apache
+ depends = bash
+ depends = awk
+ depends = ntfs-3g
+ depends = dosfstools
+ depends = util-linux
+ depends = p7zip
+ depends = ms-sys
+ source = git+https://github.com/ValdikSS/windows2usb.git#tag=0.1.6
+ source = https://github.com/pbatard/rufus/raw/master/res/uefi/uefi-ntfs.img
+ sha512sums = SKIP
+ sha512sums = 139be9b1db2fa227590a26b15a380e1fa5855436521db7365953d80d8ec3935fb427248c5de8ed5f90846f4b3946d7bdb6cdab326a2016d8d51721e612b70c9b
+
+pkgname = windows2usb
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..80f0085588f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+pkg/
+src/
+windows2usb/
+uefi-ntfs.img
+*.pkg.tar*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ea41aea065b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: K900 <me@0upti.me>
+pkgname=windows2usb
+pkgver=0.1.6
+pkgrel=1
+
+pkgdesc="Windows 7/8/8.1/10 ISO to Flash Drive burning utility for Linux (MBR/GPT, BIOS/UEFI, FAT32/NTFS)"
+arch=("any")
+url="https://github.com/ValdikSS/windows2usb"
+license=("Apache")
+
+depends=("bash" "awk" "ntfs-3g" "dosfstools" "util-linux" "p7zip" "ms-sys")
+
+source=(
+ "git+https://github.com/ValdikSS/windows2usb.git#tag=${pkgver}"
+ "https://github.com/pbatard/rufus/raw/master/res/uefi/uefi-ntfs.img"
+)
+sha512sums=(
+ "SKIP"
+ "139be9b1db2fa227590a26b15a380e1fa5855436521db7365953d80d8ec3935fb427248c5de8ed5f90846f4b3946d7bdb6cdab326a2016d8d51721e612b70c9b"
+)
+
+package() {
+ install -Dm644 $srcdir/uefi-ntfs.img "$pkgdir/usr/share/$pkgname/uefi-ntfs.img"
+ install -Dm755 $srcdir/$pkgname/$pkgname "$pkgdir/usr/bin/$pkgname"
+}