archlinux-pkgbuilds/PKGBUILD

27 lines
713 B
Text
Raw Normal View History

2015-10-09 14:50:50 +02:00
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
2016-09-22 10:10:07 +02:00
_pythonmod=Flask-Compress
2015-10-09 14:50:50 +02:00
pkgname='python2-flask-compress'
2016-09-22 10:10:07 +02:00
pkgver='1.3.1'
2015-10-09 14:50:50 +02:00
pkgrel='1'
pkgdesc='custom actions for flask to help manage your application'
arch=('any')
url='http://pypi.python.org/pypi/Flask-Compress/'
license=('BSD')
depends=('python2-flask')
makedepends=('python2-setuptools')
2015-10-09 14:50:50 +02:00
2016-09-22 10:10:07 +02:00
source=("https://pypi.io/packages/source/${_pythonmod:0:1}/${_pythonmod}/${_pythonmod}-$pkgver.tar.gz")
sha1sums=('ec4ac23f3f6ad71e63882c6a2a371e13771f1915')
2015-10-09 14:50:50 +02:00
build() {
cd "Flask-Compress-${pkgver}"
python2 ./setup.py build
}
package() {
cd "Flask-Compress-${pkgver}"
python2 ./setup.py install --root="${pkgdir}" --prefix="/usr"
}
# vim:set ts=2 sw=2 et: