# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=parole pkgver=1.0.2 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="gst-plugins-good" depends_dev="libxfce4ui-dev libxfce4util-dev intltool gstreamer-dev bash gst-plugins-base-dev libsm-dev taglib-dev libnotify-dev dbus-glib-dev" makedepends="$depends_dev linux-headers" install= subpackages="$pkgname-dev $pkgname-lang" source="https://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 \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --with-gstreamer=1.0 \ || return 1 make || return 1 } package() { cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install } sha512sums="d7e989af7f9dab14080e62bd656a2858d8536a056ba82b5d5ac7d26a7d898f478b74c1ba4371779624691b7f42b695580ad53cfb15da0a4dc209d7570c12a66d parole-1.0.2.tar.bz2"