summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/parole/APKBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/main/parole/APKBUILD b/main/parole/APKBUILD
index 499ed03cb..ca6ef1adb 100644
--- a/main/parole/APKBUILD
+++ b/main/parole/APKBUILD
@@ -1,8 +1,12 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=parole
-pkgver=0.3.0
+pkgver=0.3.0.3
pkgrel=0
+case $pkgver in
+ *.*.*.*) _branch=${pkgver%.*.*};;
+ *.*.*) _branch=${pkgver%.*};;
+esac
pkgdesc="Media player for the Xfce desktop"
url="http://goodies.xfce.org/projects/applications/parole/"
arch="all"
@@ -12,9 +16,7 @@ makedepends="libxfce4ui-dev libxfce4util-dev intltool gstreamer-dev bash
gst-plugins-base-dev libsm-dev taglib-dev libnotify-dev"
install=
subpackages="$pkgname-dev $pkgname-lang"
-# the libx11 is a hack. The real solution is filed in
-# https://bugzilla.xfce.org/show_bug.cgi?id=6244
-source="http://archive.xfce.org/src/apps/parole/${pkgver%.*}/parole-$pkgver.tar.bz2"
+source="http://archive.xfce.org/src/apps/parole/$_branch/parole-$pkgver.tar.bz2"
prepare() {
cd "$srcdir"/$pkgname-$pkgver
@@ -41,4 +43,4 @@ package() {
find "$pkgdir" -name '*.la' -delete
}
-md5sums="869b1c1f3a02d46ab17755d043b3e719 parole-0.3.0.tar.bz2"
+md5sums="d13ece4c5a4980a1aedfed8eb3c6172d parole-0.3.0.3.tar.bz2"