diff options
author | Mohammadreza Abdollahzadeh | 2022-03-25 09:26:11 +0430 |
---|---|---|
committer | Mohammadreza Abdollahzadeh | 2022-03-25 09:26:11 +0430 |
commit | 0148417f9caa82450db348c3c3b9d1e58f707d13 (patch) | |
tree | 61dc7eefd44a448369822d0199857535a0392475 | |
parent | b9bf0876bafa4ce7de3f59a6f127296f6d882d2b (diff) | |
download | aur-0148417f9caa82450db348c3c3b9d1e58f707d13.tar.gz |
add git as make dependency
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 7 insertions, 5 deletions
@@ -5,6 +5,7 @@ pkgbase = windows2usb-git url = https://github.com/ValdikSS/windows2usb arch = any license = Apache + makedepends = git depends = bash depends = awk depends = ntfs-3g @@ -9,6 +9,7 @@ arch=("any") url="https://github.com/ValdikSS/windows2usb" license=("Apache") depends=("bash" "awk" "ntfs-3g" "dosfstools" "util-linux" "p7zip" "ms-sys") +makedepends=("git") provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") source=("${pkgname%-git}::git+${url}.git" @@ -17,12 +18,12 @@ 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 -D -t "${pkgdir}/usr/share/${pkgname%-git}" -m 644 uefi-ntfs.img - install -D -t "${pkgdir}/usr/bin" -m 755 "${pkgname%-git}/${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 et: +# vim:set ts=4 sw=4: |