Skip to content

Instantly share code, notes, and snippets.

@codl codl/PKGBUILD
Created Jan 22, 2011

Embed
What would you like to do?
# Maintainer palbo <quuxbaz@gmail.com>
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
}
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
You can’t perform that action at this time.