summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 11 insertions, 14 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0cc9ffac15ad..3bf0c6972ab8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,25 @@
-# Maintainer: Gaël Donval <gdonval+aur at google mail>
+# Maintainer: Michael Schubert <mschu.dev at gmail> github.com/mschubert/PKGBUILDs
# Contributor: Gaël Donval <gdonval+aur at google mail>
-
-pkgbase='python-multipledispatch'
-pkgname=('python-multipledispatch')
-pkgver=0.6.0
+pkgname=python-multipledispatch
+pkgver=1.0.0
pkgrel=1
pkgdesc='Multiple dispatch implementation in Python'
arch=('any')
url='https://github.com/mrocklin/multipledispatch'
license=('BSD')
makedepends=('python-setuptools')
-depends=('python>=3.4')
-source=("https://github.com/mrocklin/multipledispatch/archive/$pkgver.tar.gz")
-sha1sums=('c09f2e533dc7e3954e9587d1ea62967d980b1a33')
-md5sums=('f91173ac478c03d46d4e4731b4f13e93')
+depends=('python>=3.4' 'python-six')
+source=(multipledispatch-$pkgver.tar.gz::https://github.com/mrocklin/multipledispatch/archive/$pkgver.tar.gz)
+sha256sums=('a9eb21390e5051ce28b2ee7acd02bb21885b9e2a4ce6e5fdbb1f338b48b54203')
build() {
- cd "${srcdir}"/multipledispatch-$pkgver
+ cd "$srcdir"/multipledispatch-$pkgver
python setup.py build
}
-package_python-multipledispatch() {
- cd "${srcdir}"/multipledispatch-$pkgver
+package() {
+ cd "$srcdir"/multipledispatch-$pkgver
python setup.py install --skip-build --prefix=/usr --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE* "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- install -D -m644 README* "${pkgdir}/usr/share/doc/${pkgname}/README"
+ install -D -m644 LICENSE* "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ install -D -m644 README* "$pkgdir"/usr/share/doc/$pkgname/README
}