summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoralexdiaconescu2020-02-10 20:03:26 +0200
committeralexdiaconescu2020-02-10 20:03:26 +0200
commitad1511093d0b2003df3aa6ba49a761c559cdaed4 (patch)
tree85eefea736fb5dcc02fdf5d024c45666d38b502c
downloadaur-ad1511093d0b2003df3aa6ba49a761c559cdaed4.tar.gz
Initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD25
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f67d34a4476
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = python2-pycups
+ pkgdesc = Python 2 CUPS Bindings
+ pkgver = 1.9.74
+ pkgrel = 1
+ url = http://cyberelk.net/tim/software/pycups/
+ arch = x86_64
+ license = GPL
+ depends = libcups
+ depends = python2
+ source = pycups-1.9.74.tar.gz::https://github.com/zdohnal/pycups/archive/1.9.74.tar.gz
+ validpgpkeys = 02EA6349CE58E1BCAA8514F57955128DA3A1ABD3
+ validpgpkeys = 4629AFE960EC20BEC12E3104B7C20D079491EA63
+ sha256sums = d5b5e4058757d1c090c85ed2ee7e5c2c1785976dc934a6144dbf425398304850
+
+pkgname = python2-pycups
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d30f36efab4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Joermungand <joermungand at gmail dot com>
+# Contributor: nesl247 <nesl247@gmail.com>
+
+pkgname=('python2-pycups')
+pkgver=1.9.74
+pkgrel=1
+arch=('x86_64')
+url="http://cyberelk.net/tim/software/pycups/"
+license=('GPL')
+pkgdesc="Python 2 CUPS Bindings"
+depends=('libcups' 'python2')
+source=(${pkgname#*-}-${pkgver}.tar.gz::https://github.com/zdohnal/pycups/archive/${pkgver}.tar.gz)
+sha256sums=('d5b5e4058757d1c090c85ed2ee7e5c2c1785976dc934a6144dbf425398304850')
+validpgpkeys=('02EA6349CE58E1BCAA8514F57955128DA3A1ABD3' # Tim Waugh
+ '4629AFE960EC20BEC12E3104B7C20D079491EA63') # Tim Waugh <twaugh@redhat.com>
+
+build() {
+ cd $srcdir/${pkgname#*-}-${pkgver}
+ python2 setup.py build
+}
+
+package() {
+ cd $srcdir/${pkgname#*-}-${pkgver}
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+}