PKGBUILDs/aur/pithos-git/PKGBUILD

43 lines
1.2 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
2016-06-29 00:23:59 +00:00
pkgver=1.1.1.r80.g2edf730
2015-05-25 15:40:51 +00:00
pkgrel=1
2016-06-29 00:23:59 +00:00
pkgdesc='Native Pandora Radio client'
2012-07-18 16:18:46 +00:00
arch=('any')
2015-10-26 03:46:12 +00:00
url="https://pithos.github.io/"
2012-07-18 16:18:46 +00:00
license=('GPL3')
2015-10-26 03:46:12 +00:00
depends=('gtk3' 'python-gobject' 'libsecret' 'python-cairo'
'gst-plugins-good' 'gst-plugins-bad' 'gst-plugins-base')
2014-01-01 17:27:38 +00:00
optdepends=('libkeybinder3: for media keys plugin'
'gst-plugins-ugly: MP3 playback support'
2015-05-25 15:40:51 +00:00
'libappindicator-gtk3: 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')
2015-10-26 03:46:12 +00:00
makedepends=('git' 'automake' 'autoconf' 'intltool')
2012-07-18 16:18:46 +00:00
provides=("$_pkgname")
conflicts=("$_pkgname-bzr" "$_pkgname")
2016-06-29 00:23:59 +00:00
sha256sums=('SKIP')
source=('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"
2015-10-26 03:46:12 +00:00
git describe --tags | sed 's/-/.r/; s/-/./'
}
build() {
cd "$srcdir/$_pkgname"
./autogen.sh --prefix=/usr
make
2012-07-18 16:18:46 +00:00
}
package() {
2013-04-08 18:18:36 +00:00
cd "$srcdir/$_pkgname"
2015-10-26 03:46:12 +00:00
DESTDIR="$pkgdir" make install
2012-07-18 16:18:46 +00:00
}