diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,7 +1,7 @@ pkgname=pyinstaller-git _pyname=pyinstaller -pkgver=2.1 +pkgver=r4623.cd5d9ac pkgrel=1 pkgdesc="An application to convert python scripts into stand-alone binaries" arch=('i686' 'x86_64') @@ -14,6 +14,11 @@ source=("git+https://github.com/pyinstaller/pyinstaller.git") md5sums=('SKIP') options=('!strip' '!emptydirs') +pkgver() { + cd "${srcdir}/${_pyname}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + build() { cd "${srcdir}/${_pyname}" python setup.py build |