diff options
author | Josip Ponjavic | 2016-11-11 23:56:55 +0100 |
---|---|---|
committer | Josip Ponjavic | 2016-11-11 23:56:55 +0100 |
commit | 49413da089c15ba96dea9e827948121c3f5f17c1 (patch) | |
tree | b7bab3140ffa5430a66459570171430b16eaa939 | |
download | aur-49413da089c15ba96dea9e827948121c3f5f17c1.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ca1999d070ad --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = python-rawkit + pkgdesc = CTypes based LibRaw bindings + pkgver = 0.5.0 + pkgrel = 1 + url = https://pypi.python.org/pypi/rawkit + arch = any + license = MIT + makedepends = python-setuptools + makedepends = python-sphinx + depends = libraw + depends = python + source = rawkit-0.5.0.tar.gz::https://github.com/photoshell/rawkit/archive/v0.5.0.tar.gz + sha256sums = 9270941d3293f2814dafaf548e20e6727443ec668207a99afafc875027b3bab8 + +pkgname = python-rawkit + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8691e8fff084 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Josip Ponjavic <josipponjavic at gmail dot com> + +pkgname=python-rawkit +pkgver=0.5.0 +pkgrel=1 +pkgdesc='CTypes based LibRaw bindings' +arch=('any') +url='https://pypi.python.org/pypi/rawkit' +license=('MIT') +depends=('libraw' 'python') +makedepends=('python-setuptools' 'python-sphinx') +source=("rawkit-${pkgver}.tar.gz::https://github.com/photoshell/rawkit/archive/v${pkgver}.tar.gz") +sha256sums=('9270941d3293f2814dafaf548e20e6727443ec668207a99afafc875027b3bab8') + +build() { + cd rawkit-${pkgver} + python setup.py build + python setup.py build_sphinx -b man +} + +package(){ + cd rawkit-${pkgver} + python setup.py install --root="${pkgdir}" --optimize='1' + install -Dm644 build/sphinx/man/rawkit.1 "$pkgdir/usr/share/man/man1/rawkit.1" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |