summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuanji2019-12-10 16:16:21 +0900
committerYuanji2019-12-10 16:16:21 +0900
commit7324c929c69243764f6b86de77680e839f1df0d1 (patch)
tree0f4f9955e7e9916a4aa9ce9ff96bfc74838adb02
parent3467fa82250a9c0b44b9c99145c36c6439fa27c7 (diff)
downloadaur-7324c929c69243764f6b86de77680e839f1df0d1.tar.gz
add pdfcat to /usr/bin
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6fe4fec54269..3d5b485ae884 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-pypdf2
pkgdesc = A utility to read and write PDFs with Python
pkgver = 1.26.0
- pkgrel = 1
+ pkgrel = 2
url = https://mstamy2.github.com/PyPDF2
arch = any
license = BSD
diff --git a/PKGBUILD b/PKGBUILD
index cb03eb8c788d..2e9803e8f218 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,10 @@
-# Maintainer: Antonio Rojas <arojas@archlinux.org>
+# Maintainer: Yuanji <self@gimo.me>
+# Contributor: Antonio Rojas <arojas@archlinux.org>
# Contributor: Francois Boulogne <fboulogne at april dot org>
pkgname=python-pypdf2
pkgver=1.26.0
-pkgrel=1
+pkgrel=2
pkgdesc='A utility to read and write PDFs with Python'
arch=(any)
url='https://mstamy2.github.com/PyPDF2'
@@ -21,5 +22,6 @@ build() {
package(){
cd PyPDF2-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
+ install -D -m755 Scripts/pdfcat "$pkgdir"/usr/bin/pdfcat
install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}