summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMickaël Thomas2018-01-15 16:01:19 +0100
committerMickaël Thomas2018-01-15 16:01:19 +0100
commit37437f496c46ce154afed366206736130678972c (patch)
tree08fb4b697abbfe8a8c843f386a015f7cb4496fbb /PKGBUILD
downloadaur-python-yaswfp.tar.gz
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..ec03c4a0d622
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: mickael9 <mickael9@gmail.com>
+
+pkgname=python-yaswfp
+_name=yaswfp
+pkgver=0.9.3
+pkgrel=1
+pkgdesc='Yet Another SWF Parser'
+depends=(python)
+license=('GPL3')
+arch=('any')
+url='https://github.com/facundobatista/yaswfp'
+source=("https://pypi.org/packages/source/${_name:0:1}/${_name}/${_name}-$pkgver.tar.gz")
+sha256sums=('6171057367476bbb511ae1ff95f0963f86079dd2fcb0e9771c6d9763ed351c8d')
+
+package() {
+ cd ${_name}-$pkgver
+
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ install -Dm 644 README.rst -t "${pkgdir}"/usr/share/doc/${pkgname}
+}
+
+# vim:set ts=2 sw=2 et: