diff options
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..604b8f0b9176 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = python-slugify + pkgdesc = A Python slugify application that handles unicode + pkgver = 0.0.7 + pkgrel = 1 + url = https://github.com/un33k/python-slugify + arch = any + license = BSD + makedepends = python-distribute + depends = python-unidecode>=0.04.12 + source = http://pypi.python.org/packages/source/p/python-slugify/python-slugify-0.0.7.tar.gz + md5sums = dd9bc613a69a5cab7f18ae1c44848813 + +pkgname = python-slugify + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e2c1bbb94efa --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,20 @@ +# Maintainer: Thomas Jost <schnouki@schnouki.net> +# Contributor: Andrey Mikhaylenko <neithere at gmail dot com> +pkgname=python-slugify +pkgver=0.0.7 +pkgrel=1 +pkgdesc="A Python slugify application that handles unicode" +arch=(any) +url="https://github.com/un33k/python-slugify" +license=('BSD') +depends=( + "python-unidecode>=0.04.12" +) +makedepends=("python-distribute") +source=(http://pypi.python.org/packages/source/p/$pkgname/$pkgname-$pkgver.tar.gz) +md5sums=('dd9bc613a69a5cab7f18ae1c44848813') + +package() { + cd "$srcdir/$pkgname-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 +} |