diff options
author | bobpaul | 2018-05-16 13:49:46 -0500 |
---|---|---|
committer | bobpaul | 2018-05-16 13:49:46 -0500 |
commit | 7269b97738787d3cb6c58fc34fc59564394916ea (patch) | |
tree | c27cd149ac821beb08a34343bb7d2b2cd54dcbb5 | |
parent | 379d0387234b01c1588d5cd4927a97d7d080f7d3 (diff) | |
download | aur-7269b97738787d3cb6c58fc34fc59564394916ea.tar.gz |
fixed issue with last minute package rename
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 8 insertions, 6 deletions
@@ -1,7 +1,7 @@ pkgbase = git-crecord-git pkgdesc = Git subcommand to interactively select changes to commit or stage pkgver = 20161216.0.r4.g30c7f4c - pkgrel = 1 + pkgrel = 2 url = https://github.com/andrewshadura/git-crecord arch = any license = GPL @@ -1,7 +1,7 @@ # Maintainer: bobpaul <aurpackage [at] bobpaul 'period' org> pkgname="git-crecord-git" pkgver=20161216.0.r4.g30c7f4c -pkgrel=1 +pkgrel=2 epoch= pkgdesc="Git subcommand to interactively select changes to commit or stage" arch=(any) @@ -29,22 +29,24 @@ validpgpkeys=() # patch -p1 -i "$srcdir/$pkgname-$pkgver.patch" #} + +builddir="${pkgname/-git/}" build() { - cd "$pkgname" + cd "$builddir" ./setup.py build } pkgver(){ - cd "$pkgname" + cd "$builddir" git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } check() { - cd "$pkgname" + cd "$builddir" ./setup.py test } package() { - cd "$pkgname" + cd "$builddir" ./setup.py install --prefix=/usr --root="${pkgdir}" -O1 --skip-build } |