summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcarlwgeorge2017-06-15 15:24:38 -0500
committercarlwgeorge2017-06-15 15:24:38 -0500
commit6c5f320203c2078e6e76558f9d5e23a5cfbe04a8 (patch)
tree8ab6b0e95e066580bb4e88bbad26ba31c6ebb410
parent0588f8ef9750ecf59d5367e5e6c5a27b29175f41 (diff)
downloadaur-6c5f320203c2078e6e76558f9d5e23a5cfbe04a8.tar.gz
0.5-3
* fix typo in description * include LICENSE
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD29
2 files changed, 16 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2d2ac2857ca..bcb5d6eef5d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sat Jan 7 02:18:33 UTC 2017
+# Thu Jun 15 20:24:31 UTC 2017
pkgbase = python-pluginbase
- pkgdesc = A support library for building plugins sytems in Python.
+ pkgdesc = A support library for building plugins systems in Python.
pkgver = 0.5
- pkgrel = 2
+ pkgrel = 3
url = http://pluginbase.pocoo.org/
arch = any
license = BSD
diff --git a/PKGBUILD b/PKGBUILD
index 7c77d927355..12edfda47da 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,38 +1,35 @@
# Maintainer: Carl George < arch at cgtx dot us >
_name="pluginbase"
-_module="${_name}"
+_module="$_name"
-pkgname=("python-${_module}" "python2-${_module}")
-pkgver="0.5"
-pkgrel="2"
-pkgdesc="A support library for building plugins sytems in Python."
+pkgname=("python-$_module" "python2-$_module")
+pkgver=0.5
+pkgrel=3
+pkgdesc="A support library for building plugins systems in Python."
arch=("any")
url="http://pluginbase.pocoo.org/"
license=("BSD")
makedepends=("python-setuptools" "python2-setuptools")
-source=("https://files.pythonhosted.org/packages/source/${_name:0:1}/${_name}/${_name}-${pkgver}.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/${_name:0:1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('b4f830242a078a4f44c978a84f3365bba4d008fdd71a591c71447f4df35354dd')
-prepare() {
- cp -a "${srcdir}/${_name}-${pkgver}" "${srcdir}/${_name}-${pkgver}-python2"
-}
-
build() {
- cd "${srcdir}/${_name}-${pkgver}"
+ cd "$_name-$pkgver"
python setup.py build
- cd "${srcdir}/${_name}-${pkgver}-python2"
python2 setup.py build
}
package_python-pluginbase() {
depends=("python")
- cd "${srcdir}/${_name}-${pkgver}"
- python setup.py install --skip-build --root="${pkgdir}" --optimize=1
+ cd "$_name-$pkgver"
+ python setup.py install --skip-build --root="$pkgdir" --optimize=1
+ install -D --mode 644 --target-directory "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}
package_python2-pluginbase() {
depends=("python2")
- cd "${srcdir}/${_name}-${pkgver}-python2"
- python2 setup.py install --skip-build --root="${pkgdir}" --optimize=1
+ cd "$_name-$pkgver"
+ python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
+ install -D --mode 644 --target-directory "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}