diff options
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 33 |
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..49f719f29182 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = python2-flask-multistatic + pkgdesc = Simple Flask plugin to allow overriding static files. + pkgver = 1.0 + pkgrel = 1 + url = http://pypi.python.org/pypi/flask-multistatic/ + arch = any + license = BSD + makedepends = setuptools + depends = python2-flask + depends = python2 + source = http://pypi.python.org/packages/source/f/flask-multistatic/flask-multistatic-1.0.tar.gz + sha1sums = 50d8d6a4aeff0f7eead858441bec4d727aee0859 + +pkgname = python2-flask-multistatic + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..171d9d4a3ded --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Znki <archzenki at gmail dot com> +pkgname='python2-flask-multistatic' +pkgver='1.0' +pkgrel='1' +pkgdesc='Simple Flask plugin to allow overriding static files.' +arch=('any') +url='http://pypi.python.org/pypi/flask-multistatic/' +license=('BSD') +depends=('python2-flask' 'python2') +makedepends=('setuptools') +#checkdepends=('python2-flatland') # aur package is broken + +source=("http://pypi.python.org/packages/source/f/flask-multistatic/flask-multistatic-${pkgver}.tar.gz") +sha1sums=('50d8d6a4aeff0f7eead858441bec4d727aee0859' ) + +build() { + cd "flask-multistatic-${pkgver}" + python2 setup.py build +} + +check() { + cd "flask-multistatic-${pkgver}" + #python2 setup.py test +} + +package() { + cd "flask-multistatic-${pkgver}" + python2 setup.py install --root="${pkgdir}" --prefix="/usr" + + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}" +} + +# vim:set ts=2 sw=2 et: |