diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-04-24 11:18:18 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-04-24 11:18:18 -0300 |
commit | a8d1ba7394cf8b282f48c16bb1b31e59c629e939 (patch) | |
tree | 64a4460dd46a6018cf5774ed7f619325827ff530 /libre/python2-cssmin-fredj/PKGBUILD | |
parent | 5b6bdad4558433a3aaa5885afabc9e15bb475e3e (diff) | |
parent | 5d4c4204913230bb4b26c3d1caa73acc7bbc2f7b (diff) | |
download | abslibre-a8d1ba7394cf8b282f48c16bb1b31e59c629e939.tar.gz abslibre-a8d1ba7394cf8b282f48c16bb1b31e59c629e939.tar.bz2 abslibre-a8d1ba7394cf8b282f48c16bb1b31e59c629e939.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre/python2-cssmin-fredj/PKGBUILD')
-rw-r--r-- | libre/python2-cssmin-fredj/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
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 <lukeshu@sbcglobal.net> + +_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="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 +} + |