summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 849e87c417d8f5bfc87390718ff1ca245f60a7bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: AlphaJack <alphajack at tuta dot io>

pkgname="python-django-bootstrap-breadcrumbs-git"
pkgver=0.9.2.r0.gaeb0c82
pkgrel=1
pkgdesc="Django template tags for easy breadcrumbs using twitter bootstrap css classes or custom template"
url="https://github.com/prymitive/bootstrap-breadcrumbs/"
license=("MIT")
arch=("any")
provides=("python-django-bootstrap-breadcrumbs")
depends=("python-django")
makedepends=("python-setuptools" "git")
source=("git+$url")
sha256sums=("SKIP")

pkgver(){
 cd "bootstrap-breadcrumbs"
 git describe --long --tags | sed "s/\([^-]*-g\)/r\1/;s/-/./g"
}

build(){
 cd "bootstrap-breadcrumbs"
 python setup.py build
}

package(){
 cd "bootstrap-breadcrumbs"
 python setup.py install --root="$pkgdir" --optimize=1
}