PKGBUILDs/aur/pithos-git/PKGBUILD

44 lines
1.2 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
2013-10-11 17:15:47 +00:00
pkgname=$_pkgname-git
2014-01-01 17:27:38 +00:00
pkgver=357
2012-07-18 16:18:46 +00:00
pkgrel=1
2013-10-11 17:15:47 +00:00
epoch=1
2012-07-18 16:18:46 +00:00
pkgdesc='Pandora Internet Radio player for GNOME'
arch=('any')
2014-01-01 17:27:38 +00:00
url="http://pithos.github.io/"
2012-07-18 16:18:46 +00:00
license=('GPL3')
2014-01-01 17:27:38 +00:00
depends=('python2' 'gtk3' 'python2-gobject' 'python2-dbus' 'gst-plugins-good' 'gst-plugins-bad' 'gst-plugins-base' 'python2-pylast' 'libnotify')
makedepends=('git' 'python2-setuptools')
optdepends=('libkeybinder3: for media keys plugin'
'gst-plugins-ugly: MP3 playback support'
'libappindicator3: Unity indicator applet support'
'python2-pacparser: PAC proxy support')
2012-07-18 16:18:46 +00:00
provides=("$_pkgname")
conflicts=("$_pkgname-bzr" "$_pkgname")
install="$pkgname.install"
2014-01-01 17:27:38 +00:00
source=("$pkgname.install" "git+https://github.com/pithos/pithos.git")
2012-07-18 16:18:46 +00:00
2013-10-11 17:15:47 +00:00
pkgver() {
2013-04-08 18:18:36 +00:00
cd "$srcdir/$_pkgname"
2013-10-11 17:15:47 +00:00
git rev-list HEAD --count
2012-07-18 16:18:46 +00:00
}
2014-01-01 17:27:38 +00:00
prepare() {
cd "$srcdir/$_pkgname"
sed -e '1s|^#!/usr/bin/env python$|#!/usr/bin/python2|' -i pithos/pithos.py
}
2012-07-18 16:18:46 +00:00
package() {
2013-04-08 18:18:36 +00:00
cd "$srcdir/$_pkgname"
2013-10-11 17:15:47 +00:00
python2 setup.py install --optimize=1 --prefix=/usr --root="${pkgdir}"
2012-07-18 16:18:46 +00:00
}
2013-10-11 17:15:47 +00:00
md5sums=('c9db50a1fd3d86efe4d6f8a7b044e718'
'SKIP')
2012-07-18 16:18:46 +00:00
# vim:set ts=2 sw=2 et: