summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD19
1 files changed, 8 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0cc9ffac15a..22beb9146d2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,6 @@
-# Maintainer: Gaël Donval <gdonval+aur at google mail>
+# Maintainer: Michael Schubert <mschu.dev at gmail>
# Contributor: Gaël Donval <gdonval+aur at google mail>
-
-pkgbase='python-multipledispatch'
-pkgname=('python-multipledispatch')
+pkgname=python-multipledispatch
pkgver=0.6.0
pkgrel=1
pkgdesc='Multiple dispatch implementation in Python'
@@ -12,17 +10,16 @@ license=('BSD')
makedepends=('python-setuptools')
depends=('python>=3.4')
source=("https://github.com/mrocklin/multipledispatch/archive/$pkgver.tar.gz")
-sha1sums=('c09f2e533dc7e3954e9587d1ea62967d980b1a33')
-md5sums=('f91173ac478c03d46d4e4731b4f13e93')
+sha256sums=('649f6e61b8a6ce581c75f32365c926b55495c01b8177135408b83aa03886cde0')
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
}