summaryrefslogtreecommitdiff
path: root/libre/python2-cssmin-fredj
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-04-15 12:39:03 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-04-15 14:42:51 -0400
commitdb32a2c1b5fca8155f0a56afb317da79df049f7b (patch)
treefe99021d2285add6922bdb3f06c146da7d3b620c /libre/python2-cssmin-fredj
parent510d41fdcb89024f282e3a5b87ed00809790974d (diff)
Clean up libre/python2-cssmin-fredj
Diffstat (limited to 'libre/python2-cssmin-fredj')
-rw-r--r--libre/python2-cssmin-fredj/PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/libre/python2-cssmin-fredj/PKGBUILD b/libre/python2-cssmin-fredj/PKGBUILD
index ba21b8fc4..25b4a6f96 100644
--- a/libre/python2-cssmin-fredj/PKGBUILD
+++ b/libre/python2-cssmin-fredj/PKGBUILD
@@ -4,18 +4,20 @@ _pkgname=python2-cssmin
pkgname=python2-cssmin-fredj
pkgver=0.1.4.git4 # 0.1.4.git<number of commits after 0.1.4>
_gitver='commit=3422b9962c5a6c2adb9597f418131d73e991c9b6'
+
pkgdesc="A Python port of the YUI CSS compression algorithm"
license=('custom:MIT' 'custom:BSD3')
url="https://github.com/fredj/cssmin"
+
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
-pkgrel=2
+pkgrel=3
arch=(any)
makedepends=('python2-distribute')
-source=("libre://$pkgname-$pkgver.tar.gz")
-md5sums=('09649b374d148014a5644e9df8fcf18e')
+source=("https://repo.parabola.nu/other/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('7f073512e29cdcfef335156f343206e5')
mkmakedepends=('git')
mksource=("$pkgname-$pkgver::git://github.com/fredj/cssmin.git#${_gitver}")
@@ -29,5 +31,6 @@ build() {
package() {
cd "$srcdir/$pkgname-$pkgver"
./setup.py install --root="$pkgdir/" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}