summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Warrick2014-12-30 18:19:06 +0100
committerChris Warrick2014-12-30 18:19:06 +0100
commit8ffea78c29fd5dd3f7188a7f71bf14aa76e5650a (patch)
treebb8bf060e5feb018eda19c0a48b1d9a3fecba12f
downloadaur-8ffea78c29fd5dd3f7188a7f71bf14aa76e5650a.tar.gz
pkgbuilder-3.3.2-1
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD21
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..795c76caa37
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = pkgbuilder
+ pkgdesc = A Python AUR helper/library.
+ pkgver = 3.3.2
+ pkgrel = 1
+ url = https://github.com/Kwpolska/pkgbuilder
+ arch = any
+ license = BSD
+ depends = python
+ depends = python-setuptools
+ depends = pyalpm>=0.5.1-1
+ depends = python-requests
+ depends = rsync
+ options = !emptydirs
+ source = http://pypi.python.org/packages/source/p/pkgbuilder/pkgbuilder-3.3.2.tar.gz
+ md5sums = 2bada77edfd1151856429c1725a3b8d8
+
+pkgname = pkgbuilder
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..aa434533b76
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Chris Warrick <chris@chriswarrick.com>
+pkgname=pkgbuilder
+_pyname=pkgbuilder
+pkgver=3.3.2
+pkgrel=1
+pkgdesc='A Python AUR helper/library.'
+arch=('any')
+url='https://github.com/Kwpolska/pkgbuilder'
+license=('BSD')
+depends=('python' 'python-setuptools' 'pyalpm>=0.5.1-1' 'python-requests' 'rsync')
+options=(!emptydirs)
+source=("http://pypi.python.org/packages/source/${_pyname:0:1}/${_pyname}/${_pyname}-${pkgver}.tar.gz")
+md5sums=('2bada77edfd1151856429c1725a3b8d8')
+
+package() {
+ cd "${srcdir}/${_pyname}-${pkgver}"
+ python3 setup.py install --root="${pkgdir}/" --optimize=1
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: