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-01-12 00:24:04 +00:00
|
|
|
pkgver=20130108
|
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")
|
|
|
|
source=("$pkgname.install")
|
|
|
|
install="$pkgname.install"
|
|
|
|
md5sums=('c9db50a1fd3d86efe4d6f8a7b044e718')
|
|
|
|
|
|
|
|
_gitroot="git://github.com/kevinmehall/pithos.git"
|
|
|
|
_gitname="$_pkgname"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir"
|
|
|
|
msg "Connecting to GIT server...."
|
|
|
|
|
|
|
|
if [[ -d "$_gitname" ]]; then
|
|
|
|
cd "$_gitname" && git pull origin
|
|
|
|
msg "The local files are updated."
|
|
|
|
else
|
|
|
|
git clone "$_gitroot" "$_gitname"
|
|
|
|
fi
|
|
|
|
|
|
|
|
msg "GIT checkout done or server timeout"
|
|
|
|
msg "Starting build..."
|
|
|
|
|
|
|
|
rm -rf "$srcdir/$_gitname-build"
|
|
|
|
git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$_gitname-build"
|
|
|
|
python2 setup.py install --optimize=1 --prefix=/usr --root="${pkgdir}/"
|
|
|
|
}
|
|
|
|
|
|
|
|
# vim:set ts=2 sw=2 et:
|