mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
update pithos to pacman 4.1
This commit is contained in:
parent
42fac5b522
commit
e3eeff69ac
1 changed files with 13 additions and 22 deletions
|
@ -3,7 +3,12 @@
|
|||
|
||||
_pkgname=pithos
|
||||
pkgname=pithos-git
|
||||
pkgver=20130108
|
||||
pkgver=294.759fd22
|
||||
pkgver(){
|
||||
cd "$srcdir/$_pkgname"
|
||||
echo $(git rev-list --count master).$(git rev-parse --short master)
|
||||
}
|
||||
epoch=1
|
||||
pkgrel=1
|
||||
pkgdesc='Pandora Internet Radio player for GNOME'
|
||||
arch=('any')
|
||||
|
@ -15,34 +20,20 @@ optdepends=('python2-keybinder2: for media keys plugin'
|
|||
'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"
|
||||
source=("git://github.com/kevinmehall/pithos.git")
|
||||
md5sums=('SKIP')
|
||||
|
||||
|
||||
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"
|
||||
cd "$srcdir/$_pkgname"
|
||||
python2 setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_gitname-build"
|
||||
python2 setup.py install --optimize=1 --prefix=/usr --root="${pkgdir}/"
|
||||
cd "$srcdir/$_pkgname"
|
||||
python2 setup.py install --prefix=/usr --root="${pkgdir}/"
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
||||
|
|
Loading…
Reference in a new issue