PKGBUILDs/aur/pithos-git/PKGBUILD

40 lines
1.1 KiB
Bash
Raw Normal View History

2012-07-18 16:18:46 +00:00
# Contributor: Matthew Bauer <mjbauer95@gmail.com>
# Maintainer: Steven Allen <steven@stebalien.com>
_pkgname=pithos
pkgname=pithos-git
2013-04-08 18:18:36 +00:00
pkgver=294.759fd22
pkgver(){
cd "$srcdir/$_pkgname"
echo $(git rev-list --count master).$(git rev-parse --short master)
}
epoch=1
2012-07-18 16:18:46 +00:00
pkgrel=1
pkgdesc='Pandora Internet Radio player for GNOME'
arch=('any')
url="http://kevinmehall.net/p/pithos/"
license=('GPL3')
2013-01-12 00:24:04 +00:00
depends=('python2' 'pygtk' 'python2-notify' 'python2-dbus' 'gstreamer0.10-python' 'gstreamer0.10-good-plugins' 'gstreamer0.10-bad-plugins' 'gstreamer0.10-base-plugins' 'python2-xdg' 'hicolor-icon-theme')
2012-07-18 16:18:46 +00:00
makedepends=('git' 'python2-distribute' 'python2-distutils-extra')
2013-01-12 00:24:04 +00:00
optdepends=('python2-keybinder2: for media keys plugin'
2012-07-18 16:18:46 +00:00
'gstreamer0.10-ugly-plugins: MP3 playback support')
provides=("$_pkgname")
conflicts=("$_pkgname-bzr" "$_pkgname")
install="$pkgname.install"
2013-04-08 18:18:36 +00:00
source=("git://github.com/kevinmehall/pithos.git")
md5sums=('SKIP')
2012-07-18 16:18:46 +00:00
2013-04-08 18:18:36 +00:00
build() {
cd "$srcdir/$_pkgname"
python2 setup.py build
2012-07-18 16:18:46 +00:00
}
package() {
2013-04-08 18:18:36 +00:00
cd "$srcdir/$_pkgname"
python2 setup.py install --prefix=/usr --root="${pkgdir}/"
2012-07-18 16:18:46 +00:00
}
# vim:set ts=2 sw=2 et: