diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-04-23 19:44:46 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-04-23 19:44:46 +0000 |
commit | 27d1e194717b1696b3169ad43df027876247b91a (patch) | |
tree | 8416dc507bc2aed5f47588d345abe1ef22a6c60f /community/parole | |
parent | 0090cfe5db52bd764631d9b1d55e6e74c7cf2ae8 (diff) | |
download | aports-27d1e194717b1696b3169ad43df027876247b91a.tar.bz2 aports-27d1e194717b1696b3169ad43df027876247b91a.tar.xz |
main/{xfce*} => community/
Move everything xfce to community
Diffstat (limited to 'community/parole')
-rw-r--r-- | community/parole/APKBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/community/parole/APKBUILD b/community/parole/APKBUILD new file mode 100644 index 0000000000..530842f5d0 --- /dev/null +++ b/community/parole/APKBUILD @@ -0,0 +1,50 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=parole +pkgver=0.9.2 +pkgrel=1 +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" +makedepends="$depends_dev linux-headers" +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 \ + --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="c3eee9501648bbb058a22398f2b8ae3727036718052b9e93ebb6f7dc3eb88ce1cfe8d443a5abf7d0cebc2853e14f42fed520ce17d8c7e03dacdcafb57247fb4d parole-0.9.2.tar.bz2" |