diff options
-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 } |