diff options
author | Fernando Cladera | 2016-09-23 16:01:15 -0300 |
---|---|---|
committer | Fernando Cladera | 2016-09-23 16:01:15 -0300 |
commit | 95b2ebdfb32ef506e2b2f521f0aa2bbeb33f01ef (patch) | |
tree | ce39e94e6b9d10fc2c3416a37dddcf3a6960609a | |
parent | 4bfdb4b357d6caa6dd3b691282dc8398f55f42f3 (diff) | |
download | aur-95b2ebdfb32ef506e2b2f521f0aa2bbeb33f01ef.tar.gz |
Updated with setup.py
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 4 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = noteshrink-git pkgdesc = Convert scans of handwritten notes to beautiful, compact PDFs pkgver = r31.3f831fd - pkgrel = 1 + pkgrel = 2 url = https://mzucker.github.io/2016/09/20/noteshrink.html arch = any license = MIT @@ -3,7 +3,7 @@ pkgname=noteshrink-git _pkgname=noteshrink pkgver=r31.3f831fd -pkgrel=1 +pkgrel=2 pkgdesc="Convert scans of handwritten notes to beautiful, compact PDFs" url='https://mzucker.github.io/2016/09/20/noteshrink.html' arch=('any') @@ -21,11 +21,10 @@ pkgver() { build() { cd "$srcdir/$_pkgname" sed -i '1 s/python/python2/g' noteshrink.py + python2 setup.py build } - - package() { cd "$srcdir/$_pkgname" - install -Dm755 noteshrink.py $pkgdir/usr/bin/noteshrink + python2 setup.py install --root="$pkgdir" --optimize=1 } |