diff options
author | felics@felics-tablet | 2018-02-04 23:10:06 +0100 |
---|---|---|
committer | felics@felics-tablet | 2018-02-04 23:10:06 +0100 |
commit | d23914c94fb14a0a4ddb8383fe16718b61e80ca6 (patch) | |
tree | 91a1574b7c89ac7d489a4ae14729bde2749d4cd5 | |
parent | ee51fdec7d6c52f13949dcc9c95c2f4d651eaf65 (diff) | |
download | aur-d23914c94fb14a0a4ddb8383fe16718b61e80ca6.tar.gz |
PKGBUILD sanitisation
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 7 insertions, 7 deletions
@@ -1,7 +1,7 @@ pkgbase = balong-usbdload-git pkgdesc = Low level USB Flashing/ downloader utility for Huawei E3372 and other modems baesd on Balong v7. Includes temporary usb loader "firmware" for some devices. pkgver = r83.fdcec46 - pkgrel = 1 + pkgrel = 2 url = http://github.com/forth32/balong-usbdload arch = i686 arch = x86_64 @@ -4,7 +4,7 @@ _pkgname=balong-usbdload pkgname="${_pkgname}-git" _pkgver=latest pkgver=r83.fdcec46 -pkgrel=1 +pkgrel=2 pkgdesc='Low level USB Flashing/ downloader utility for Huawei E3372 and other modems baesd on Balong v7. Includes temporary usb loader "firmware" for some devices.' arch=('i686' 'x86_64') url="http://github.com/forth32/balong-usbdload" @@ -19,11 +19,6 @@ provides=( conflicts=("${_pkgname}") options=() -pkgver() { - cd "${_pkgname}" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} - source=( "${_pkgname}::git+https://github.com/forth32/balong-usbdload.git" "helpmessages_english.txt" @@ -36,6 +31,11 @@ sha256sums=( 'b418646e48436a8b55733bf270e3050cbf6ecaa1ec31862f06754333dd691594' ) +pkgver() { + cd "${_pkgname}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + build() { cd "${srcdir}/${_pkgname}" make |