From 27b7bff2fccc55672a06a607f375da0107598a89 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 22 Apr 2013 16:22:52 -0400 Subject: add libre/python2-cssmin-fredj --- libre/python2-cssmin-fredj/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 libre/python2-cssmin-fredj/PKGBUILD (limited to 'libre/python2-cssmin-fredj') diff --git a/libre/python2-cssmin-fredj/PKGBUILD b/libre/python2-cssmin-fredj/PKGBUILD new file mode 100644 index 000000000..0f155de89 --- /dev/null +++ b/libre/python2-cssmin-fredj/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Luke Shumaker + +_pkgname=python2-cssmin +pkgname=python2-cssmin-fredj +pkgver=0.1.4.git4 # 0.1.4.git +_gitver='commit=3422b9962c5a6c2adb9597f418131d73e991c9b6' +pkgdesc="Provides a country field for Django models" +license=('custom:MIT') +url="http://bitbucket.org/smileychris/django-countries/" + +provides=("$_pkgname=$pkgver") +conflicts=("$_pkgname") + +pkgrel=1 +arch=(any) + +makedepends=('python2-distribute') +source=("libre://$pkgname-$pkgver.tar.gz") +md5sums=('09649b374d148014a5644e9df8fcf18e') + +mkmakedepends=('git') +mksource=("$pkgname-$pkgver::git://github.com/fredj/cssmin.git#${_gitver}") +mkmd5sums=('SKIP') + +build() { + cd "$srcdir/$pkgname-$pkgver" + sed -i 's|#!/usr/bin/env python\s*$|#!/usr/bin/env python2|' setup.py src/cssmin.py +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + ./setup.py install --root="$pkgdir/" --optimize=1 +} + -- cgit v1.2.3