diff options
author | kmaeder | 2016-09-18 16:17:26 +0200 |
---|---|---|
committer | kmaeder | 2016-09-18 16:17:26 +0200 |
commit | a27ec0037303bd9a7084761f01e29f3d5c843213 (patch) | |
tree | c5304c670d336c9e22da377de1877b94e75d92c7 /PKGBUILD | |
download | aur-a27ec0037303bd9a7084761f01e29f3d5c843213.tar.gz |
initial for AUR4
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..360bf93f966b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Kevin Maeder <kmaeder[AT]kevin-maeder[dot]de> + +pkgname=python-django-debug-toolbar-git +_gitname=django-debug-toolbar +pkgver=1.5.r25.gef4bc2b +pkgrel=1 +pkgdesc="A configurable set of panels that display various debug information about the current request/response." +arch=('i686' 'x86_64') +url="https://django-debug-toolbar.readthedocs.io/" +license=('BSD') +depends=('python' 'python-django') +conflicts=('python-django-debug-toolbar') +provides=('python-django-debug-toolbar') +makedepends=('git') +source=('git://github.com/django-debug-toolbar/django-debug-toolbar.git') +md5sums=('SKIP') + +pkgver() { + cd ${srcdir}/${_gitname} + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +package() { + cd ${srcdir}/${_gitname} + python setup.py install --root=${pkgdir} && \ + install -D -m0644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} + |