summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPieter Lenaerts2018-04-10 09:03:37 +0200
committerPieter Lenaerts2018-04-10 09:03:37 +0200
commit137069a25313851d4aab56c64456a6ae4ed9da77 (patch)
tree79aed69e54f75f2672ac1cfa96d30508c03b067d
downloadaur-137069a25313851d4aab56c64456a6ae4ed9da77.tar.gz
initial commit
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD27
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4f91016069b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+# Generated by mksrcinfo v8
+# Tue Apr 10 07:03:22 UTC 2018
+pkgbase = python-jpegtran-cffi
+ pkgdesc = Fast, (mostly) lossless JPEG transformations with Python
+ pkgver = 0.5.2
+ pkgrel = 1
+ url = https://github.com/jbaiter/jpegtran-cffi
+ arch = any
+ license = MIT
+ depends = libjpeg-turbo
+ source = https://github.com/jbaiter/jpegtran-cffi/archive/v0.5.2.tar.gz
+ sha256sums = 1d5f10ca9dc86be8ca0ead2745e13b1c9e14f3812ebc4d90926a6836ec7fffc8
+
+pkgname = python-jpegtran-cffi
+
+pkgname = python2-jpegtran-cffi
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..40646e01dfe
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Contributor: Pieter Lenaerts <pieter dot aj dot lenaerts gmail>
+
+pkgname=('python-jpegtran-cffi' 'python2-jpegtran-cffi')
+pkgver=0.5.2
+pkgrel=1
+pkgdesc='Fast, (mostly) lossless JPEG transformations with Python'
+arch=('any')
+url='https://github.com/jbaiter/jpegtran-cffi'
+license=('MIT')
+source=("https://github.com/jbaiter/jpegtran-cffi/archive/v${pkgver}.tar.gz")
+sha256sums=('1d5f10ca9dc86be8ca0ead2745e13b1c9e14f3812ebc4d90926a6836ec7fffc8')
+depends=('libjpeg-turbo')
+
+package_python-jpegtran-cffi() {
+ makedepends=('python-setuptools')
+ cd "$srcdir"/jpegtran-cffi-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE
+}
+
+package_python2-jpegtran-cffi() {
+ makedepends=('python2-setuptools')
+ cd "$srcdir"/jpegtran-cffi-$pkgver
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE
+}
+# vim:set ts=2 sw=2 et: