summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ea41aea065b902d278f920921de584efb0d3bca1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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"
}