summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Jost2016-05-03 20:45:15 +0200
committerThomas Jost2016-05-03 20:45:15 +0200
commiteae63868808bcf30d6ba08f140f06f0796d86cc6 (patch)
treefdd86a44cffa33b05354bd12f6175172e81f8cda
parent0b3eeeb13080475b79427d227067cbc57d3f0640 (diff)
downloadaur-eae63868808bcf30d6ba08f140f06f0796d86cc6.tar.gz
Rename slugify to slugify2 in python2-slugify
Thanks to jtojnar!
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD3
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 11901b6e7c6..eaf4057613d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sun May 1 09:47:31 UTC 2016
+# Tue May 3 18:44:41 UTC 2016
pkgbase = python-slugify
pkgdesc = A Python slugify application that handles unicode
pkgver = 1.2.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/un33k/python-slugify
arch = any
license = BSD
diff --git a/PKGBUILD b/PKGBUILD
index 29b909d6969..7593a3e3dee 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=(python-slugify python2-slugify)
pkgbase=python-slugify
pkgver=1.2.0
-pkgrel=1
+pkgrel=2
pkgdesc="A Python slugify application that handles unicode"
arch=(any)
url="https://github.com/un33k/python-slugify"
@@ -23,4 +23,5 @@ package_python2-slugify() {
depends=("python2" "python2-unidecode>=0.04.16")
cd "$srcdir/$pkgbase-$pkgver"
python2 setup.py install --root="$pkgdir" --optimize=1
+ mv "$pkgdir/usr/bin/slugify" "$pkgdir/usr/bin/slugify2"
}