diff options
author | Mohammadreza Abdollahzadeh | 2022-01-13 09:04:40 +0330 |
---|---|---|
committer | Mohammadreza Abdollahzadeh | 2022-01-13 09:04:40 +0330 |
commit | b9bf0876bafa4ce7de3f59a6f127296f6d882d2b (patch) | |
tree | fd86eb530846e6b7755585f2920e82eac80fc70c | |
parent | ebe436c4487157c7dbc27779cc7cfe40998662eb (diff) | |
download | aur-b9bf0876bafa4ce7de3f59a6f127296f6d882d2b.tar.gz |
update to v0.2.1 and fix checksum
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 13 insertions, 15 deletions
@@ -1,6 +1,6 @@ pkgbase = windows2usb-git pkgdesc = Windows 7/8/8.1/10 ISO to Flash Drive burning utility for Linux (MBR/GPT, BIOS/UEFI, FAT32/NTFS) - git version - pkgver = 0.1.6.r3.g35565d0 + pkgver = 0.2.1.r0.g9f855fa pkgrel = 1 url = https://github.com/ValdikSS/windows2usb arch = any @@ -14,10 +14,9 @@ pkgbase = windows2usb-git depends = ms-sys provides = windows2usb conflicts = windows2usb - source = git+https://github.com/ValdikSS/windows2usb.git + source = windows2usb::git+https://github.com/ValdikSS/windows2usb.git source = https://github.com/pbatard/rufus/raw/master/res/uefi/uefi-ntfs.img - sha512sums = SKIP - sha512sums = 7413f02754e810c00bc59822314a34ec74663d6dfc441605ea8cd90cc0717db99953b32f30c1bac1b437ea9d3eabeaa7fd171497817642bb1abd728fb2c5290b + sha256sums = SKIP + sha256sums = e159fba61b14b20cc0c1631dcf158fb3811f084a9874d190616cb4740a0ccf9c pkgname = windows2usb-git - @@ -1,9 +1,8 @@ # Maintainer: Mohammadreza Abdollahzadeh <morealaz at gmail.com> # Contributor: Frederic Bezies <fredbezies at gmail dot com> # Contributor: K900 <me@0upti.me> - pkgname=windows2usb-git -pkgver=0.1.6.r3.g35565d0 +pkgver=0.2.1.r0.g9f855fa pkgrel=1 pkgdesc="Windows 7/8/8.1/10 ISO to Flash Drive burning utility for Linux (MBR/GPT, BIOS/UEFI, FAT32/NTFS) - git version" arch=("any") @@ -12,18 +11,18 @@ license=("Apache") depends=("bash" "awk" "ntfs-3g" "dosfstools" "util-linux" "p7zip" "ms-sys") provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") -source=("git+https://github.com/ValdikSS/windows2usb.git" +source=("${pkgname%-git}::git+${url}.git" "https://github.com/pbatard/rufus/raw/master/res/uefi/uefi-ntfs.img") -sha512sums=('SKIP' - '7413f02754e810c00bc59822314a34ec74663d6dfc441605ea8cd90cc0717db99953b32f30c1bac1b437ea9d3eabeaa7fd171497817642bb1abd728fb2c5290b') +sha256sums=('SKIP' + 'e159fba61b14b20cc0c1631dcf158fb3811f084a9874d190616cb4740a0ccf9c') pkgver() { - cd "${pkgname%-git}" - git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + cd "${pkgname%-git}" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } package() { - install -Dm644 ${srcdir}/uefi-ntfs.img "${pkgdir}/usr/share/${pkgname%-git}/uefi-ntfs.img" - install -Dm755 ${srcdir}/${pkgname%-git}/${pkgname%-git} "${pkgdir}/usr/bin/${pkgname%-git}" + install -D -t "${pkgdir}/usr/share/${pkgname%-git}" -m 644 uefi-ntfs.img + install -D -t "${pkgdir}/usr/bin" -m 755 "${pkgname%-git}/${pkgname%-git}" } -# vim:set ts=4 sw=4: +# vim:set ts=4 sw=4 et: |