# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=parole 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" license="GPL" depends="" 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" source="http://archive.xfce.org/src/apps/parole/$_branch/parole-$pkgver.tar.bz2" prepare() { cd "$srcdir"/$pkgname-$pkgver for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$srcdir"/$pkgname-$pkgver ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ || return 1 make || return 1 } package() { cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install find "$pkgdir" -name '*.la' -delete } md5sums="d13ece4c5a4980a1aedfed8eb3c6172d parole-0.3.0.3.tar.bz2"