updated on Wed Jan 11 08:01:35 UTC 2012
[aur-mirror.git] / albumthing-hg / PKGBUILD
blob6d13ac18879e591c5e85eb3be4ffbd5fa510d33f
1 # Contributer: Sebastian Sareyko <public@nooms.de>
2 # Contributer: Thomas Cyron <thomas@fooo.org>
3 pkgname=albumthing-hg
4 pkgver=97
5 pkgrel=1
6 pkgdesc="A simple Gtk+ client for xmms2"
7 depends=('xmms2-git' 'pygtk')
8 makedepends=('mercurial')
9 arch=('i686' 'x86_64')
10 license=('custom')
11 url="http://nooms.de/projects/albumthing"
12 source=()
13 md5sums=()
15 _hgroot="http://hg.nooms.de/albumthing"
16 _hgrepo=albumthing
18 build() {
19     cp -R $startdir/src/$_hgrepo $startdir/src/$_hgrepo-build
20     cd $startdir/src/$_hgrepo-build
22     python setup.py build || return 1
23     python setup.py install --prefix=/usr --root=$startdir/pkg || return 1
25     install -D -m 644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
26     rm -rf $startdir/src/$_hgrepo-build