diff options
author | Johannes Dewender | 2012-12-12 22:19:09 +0000 |
---|---|---|
committer | Johannes Dewender | 2012-12-12 22:19:09 +0000 |
commit | ab4a29e9884705dc6db13fb270a3a3a39f7e4a58 (patch) | |
tree | 23ab09a7af791f583fb70fdca5e26fa3494184ab | |
parent | adaafc881ce7c721e70943e999e6edd0cd12ce6a (diff) | |
download | aur-ab4a29e9884705dc6db13fb270a3a3a39f7e4a58.tar.gz |
lio free branches: use new github archives
Github previously had tarball links that included the github username and a short hash. This is now fixed so we can clean the PKBUILDs.
git-svn-id: http://svn.kraehen.org/aur@180 04e22907-73ef-438a-a52f-a971dc6d3b47
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 6 insertions, 9 deletions
@@ -10,9 +10,9 @@ pkgbase = targetcli-fb provides = targetcli conflicts = lio-utils replaces = rtsadmin - source = targetcli-fb-2.0rc1.fb17.tar.gz::https://github.com/agrover/targetcli-fb/tarball/v2.0rc1.fb17 + source = targetcli-fb-2.0rc1.fb17.tar.gz::https://github.com/agrover/targetcli-fb/archive/v2.0rc1.fb17.tar.gz source = target - md5sums = 0284ced8b5ab0d77cdcd2c23a0fa8bca + md5sums = e5c4b4896916b072f962d0936f2f6406 md5sums = f23bd6d5d4021c29b4519e40b3b9e042 pkgname = targetcli-fb @@ -16,22 +16,19 @@ replaces=('rtsadmin') backup=() options=() install= -source=($pkgname-$pkgver.tar.gz::https://github.com/agrover/$pkgname/tarball/v$pkgver +source=($pkgname-$pkgver.tar.gz::https://github.com/agrover/$pkgname/archive/v$pkgver.tar.gz target) -md5sums=('0284ced8b5ab0d77cdcd2c23a0fa8bca' +md5sums=('e5c4b4896916b072f962d0936f2f6406' 'f23bd6d5d4021c29b4519e40b3b9e042') -_githubname=agrover-targetcli-fb -_gitversion=a449e65 - build() { - cd "$srcdir/$_githubname-$_gitversion" + cd "$srcdir/$pkgname-$pkgver" python2 setup.py build gzip --stdout targetcli.8 > "targetcli.8.gz" } package() { - cd "$srcdir/$_githubname-$_gitversion" + cd "$srcdir/$pkgname-$pkgver" python2 setup.py install --skip-build --root="$pkgdir/" --optimize=1 install -D -m 644 targetcli.8.gz "$pkgdir/usr/share/man/man8/targetcli.8.gz" |