commit 135d05fcd013a03827a983efa8953df4ab0d054a Author: K900 Date: Mon Aug 17 15:03:19 2020 +0300 first commit diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..b9a7908 --- /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 0000000..80f0085 --- /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 0000000..ea41aea --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: K900 +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" +}