summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}