PKGBUILDs/aur/pithos-git/PKGBUILD

42 lines
1.3 KiB
Bash
Raw Normal View History

2012-07-18 16:18:46 +00:00
# Contributor: Matthew Bauer <mjbauer95@gmail.com>
2015-04-24 01:48:28 +00:00
# Contributor: TingPing <tingping@fedoraproject.org>
2012-07-18 16:18:46 +00:00
# Maintainer: Steven Allen <steven@stebalien.com>
_pkgname=pithos
2013-10-11 17:15:47 +00:00
pkgname=$_pkgname-git
2015-04-24 01:48:28 +00:00
pkgver=448
pkgrel=2
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')
2015-04-24 01:48:28 +00:00
depends=('python' 'gtk3' 'python-gobject'
'gst-plugins-good' 'gst-plugins-bad' 'gst-plugins-base'
'python-setuptools' 'python-cairo')
2014-01-01 17:27:38 +00:00
optdepends=('libkeybinder3: for media keys plugin'
'gst-plugins-ugly: MP3 playback support'
'libappindicator3: Unity indicator applet support'
2015-04-24 01:48:28 +00:00
'python-pacparser: PAC proxy support'
'python-pylast: Last.fm scrobbling support'
'libnotify: Notification support'
'python-dbus: MPRIS/Screensaver Pause/Gnome mediakeys support')
makedepends=('git')
2012-07-18 16:18:46 +00:00
provides=("$_pkgname")
conflicts=("$_pkgname-bzr" "$_pkgname")
install="$pkgname.install"
2015-04-24 01:48:28 +00:00
sha256sums=('961b42a5b1105ff4625b86f87b5fa5d83a59495149cfb74b59f51e910a474ff9'
'SKIP')
2012-07-18 16:18:46 +00:00
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
}
package() {
2013-04-08 18:18:36 +00:00
cd "$srcdir/$_pkgname"
2015-04-24 01:48:28 +00:00
python setup.py install --optimize=1 --prefix=/usr --root="${pkgdir}/"
2012-07-18 16:18:46 +00:00
}