diff options
author | ShapeShifter499 | 2015-07-23 02:43:21 -0700 |
---|---|---|
committer | ShapeShifter499 | 2015-07-23 02:43:21 -0700 |
commit | f1eb79c6fbd2b28280e91b4d45c0fa5e6511a63c (patch) | |
tree | 3b6dc6f13b158a0f989df30525cdb3735f52ac01 | |
parent | 120d0d0078e395e0bb3ae40da5dfb3cb9214e799 (diff) | |
download | aur-f1eb79c6fbd2b28280e91b4d45c0fa5e6511a63c.tar.gz |
Making sure the package notes who is developer and package maintainer v3
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -21,6 +21,12 @@ conficts=('acd_cli') source=(git+https://github.com/yadayada/acd_cli.git) md5sums=('SKIP') +pkgver() { + cd "$pkgname" + # cutting off 'foo-' prefix that presents in the git tag + git describe --long | sed 's/^foo-//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + package() { cd $_pkgname python setup.py install --root="$pkgdir/" --optimize=1 |