Created
January 22, 2011 17:56
-
-
Save codl/791303 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer palbo <[email protected]> | |
pkgname=ccx2 | |
pkgver=0.2.0 | |
pkgrel=1 | |
pkgdesc="Console client for xmms2" | |
arch=(i686 x86_64) | |
url="http://palbo.github.com/ccx2" | |
license=("BSD") | |
depends=("ncurses" "python2" "xmms2") | |
optdepends=("pil: for cover art display" | |
"python-lxml: for lyrics display" | |
"python-simplejson: for lyrics display, if python < 2.6") | |
source=(http://cloud.github.com/downloads/palbo/$pkgname/$pkgname-$pkgver.tar.gz python2.patch) | |
md5sums=('0305d9c9cb8dc4fe628320447ab91618' | |
'fd99b4bc98649c12d4f34d3d9f367be8') | |
build() { | |
cd $srcdir/$pkgname-$pkgver | |
python2 setup.py build || return 1 | |
patch scripts/$pkgname < $srcdir/python2.patch | |
python2 setup.py install --root=$pkgdir || return 1 | |
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/ccx2/LICENSE" || return 1 | |
install -D -m644 LICENSE.urwid "$pkgdir/usr/share/licenses/ccx2/LICENSE.urwid" || return 1 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1c1 | |
< #!/usr/bin/env python | |
--- | |
> #!/usr/bin/env python2 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment