summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFran├žois Boulogne2020-05-26 15:58:08 +0200
committerFran├žois Boulogne2020-05-26 15:58:08 +0200
commita114152bce4028f691fd3a6eba0c10d4e21fab29 (patch)
tree1f1c727e1c6e84d8a06b78d701fbfc1dc001ce5f
downloadaur-a114152bce4028f691fd3a6eba0c10d4e21fab29.tar.gz
Create package
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD23
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9db34d777b8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = python-pdfknife
+ pkgdesc = Command line tools to manipulate PDF files
+ pkgver = 0.2.1
+ pkgrel = 1
+ url = https://github.com/sciunto-org/PDFknife
+ arch = any
+ license = GPL3
+ checkdepends = python-nose
+ makedepends = python-setuptools
+ depends = python
+ depends = pdfjam
+ depends = pdftk
+ depends = poppler
+ depends = ghostscript
+ source = https://github.com/sciunto-org/PDFknife/archive/0.2.1.tar.gz
+ sha256sums = ae1092e7d807e0633339b70d568a37ae17c3d40f322e45d421e4eb94c93ab1d1
+
+pkgname = python-pdfknife
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9fddc2bb829
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Contributor: Francois Boulogne <devel at sciunto dot org>
+# Maintainer: Francois Boulogne <devel at sciunto dot org>
+
+pkgname=python-pdfknife
+pkgver=0.2.1
+pkgrel=1
+pkgdesc="Command line tools to manipulate PDF files"
+arch=('any')
+url="https://github.com/sciunto-org/PDFknife"
+license=('GPL3')
+depends=('python' 'pdfjam' 'pdftk' 'poppler' 'ghostscript')
+makedepends=('python-setuptools')
+checkdepends=('python-nose')
+source=(https://github.com/sciunto-org/PDFknife/archive/${pkgver}.tar.gz)
+sha256sums=('ae1092e7d807e0633339b70d568a37ae17c3d40f322e45d421e4eb94c93ab1d1')
+
+
+package() {
+ cd "$srcdir/PDFknife-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:ts=2:sw=2:et: