summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9aa8e9627ea..aad59b7e624 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,9 @@
# Maintainer: Francois Boulogne <fboulogne at april dot org>
pkgname=python-bibtexparser
+_pkgname=bibtexparser
pkgver=0.6.0
-pkgrel=1
+pkgrel=2
pkgdesc="Bibtex parser in Python"
arch=('any')
url="https://bibtexparser.readthedocs.org/"
@@ -11,23 +12,23 @@ license=('LGPL3')
depends=('python')
makedepends=('python-setuptools')
checkdepends=('python-nose')
-source=(http://source.sciunto.org/bibtexparser/bibtexparser-$pkgver.tar.bz2)
+source=(https://pypi.python.org/packages/source/b/bibtexparser/bibtexparser-$pkgver.tar.gz)
+sha256sums=('0f58ee599de7c01a8e9dd723c2a8d7405cca75bf02ce28c60ada23350d48dfa6')
build() {
- cd "$srcdir/bibtexparser"
+ cd "$srcdir/$_pkgname-$pkgver"
python setup.py build
}
check() {
- cd "$srcdir/bibtexparser"
+ cd "$srcdir/$_pkgname-$pkgver"
nosetests3
}
package(){
- cd "$srcdir/bibtexparser"
- python setup.py install --root="${pkgdir}"
+ cd "$srcdir/$_pkgname-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1
}
# vim:ts=2:sw=2:et:
-md5sums=('2141c782baa9881db30ae93039075737')