diff options
author | Morten Linderud | 2017-09-04 10:18:47 +0200 |
---|---|---|
committer | Morten Linderud | 2017-09-04 10:18:47 +0200 |
commit | 904d18246529c2ac50117a237f81638d521bbb1a (patch) | |
tree | 33d82b41bef679c99fad03100f50a425e95a4b45 /PKGBUILD | |
parent | b0c75c7ea237d4136ebecb258a4d68c5977c446b (diff) | |
download | aur-904d18246529c2ac50117a237f81638d521bbb1a.tar.gz |
upgpkg: jottalib 0.5.1-2
Fixed jottalib
Signed-off-by: Morten Linderud <morten@linderud.pw>
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -2,7 +2,7 @@ pkgname=jottalib pkgver=0.5.1 -pkgrel=1 +pkgrel=2 pkgdesc="A library to access files stored at jottacloud.com" arch=("any") url="https://github.com/havardgulldahl/jottalib" @@ -16,13 +16,17 @@ depends=('python2-requests' 'python2-lxml' 'python2-xattr' 'python2-chardet') -source=("$pkgname.tar.gz::https://github.com/havardgulldahl/jottalib/archive/v0.5.1.tar.gz") +source=("$pkgname-$pkgver.tar.gz::https://github.com/havardgulldahl/jottalib/archive/v0.5.1.tar.gz") sha256sums=('607e5270c15e593e0df494493d371d996053d45cfc2fe44a09020719fe5feaa3') +build(){ + cd "$srcdir/$pkgname-$pkgver" + python2 setup.py build +} package() { cd "$srcdir/$pkgname-$pkgver" - python2 setup.py install --root="$pkgdir/" --optimize=1 + python2 setup.py install --root="$pkgdir/" --optimize=1 --skip-build install -Dm 644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |