diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-06-26 15:13:37 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-06-26 15:14:02 +0200 |
commit | 933d929b3d5d3d76ec33b5d6392a44c87d451d1b (patch) | |
tree | f349c1ff35edbe95981bb9366c67c2feafa4a931 | |
parent | 384e28905a99f61fbdeca2ee56d5a8bcec6a77d5 (diff) | |
download | aports-933d929b3d5d3d76ec33b5d6392a44c87d451d1b.tar.bz2 aports-933d929b3d5d3d76ec33b5d6392a44c87d451d1b.tar.xz |
testing/aurena: new aport
-rw-r--r-- | testing/aurena/APKBUILD | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/testing/aurena/APKBUILD b/testing/aurena/APKBUILD new file mode 100644 index 0000000000..b2c42ffe0e --- /dev/null +++ b/testing/aurena/APKBUILD @@ -0,0 +1,56 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=aurena +_project=thaytan/aurena +_sha=ccc0530a57edf8e86729abaf378779d2e689aabf +pkgver=20150622 +pkgrel=0 +pkgdesc="Aurena distributed media player" +url="https://github.com/thaytan/aurena" +arch="all" +license="GPLv2" +depends="" +depends_dev="glib-dev avahi-dev libsoup-dev py-gobject-dev json-glib-dev + gstreamer1-dev gst-plugins-base1-dev sqlite-dev gtk+3.0-dev" +makedepends="$depends_dev autoconf automake libtool" +install="" +subpackages="$pkgname-simple-client:simple_client" +source="$pkgname-$_sha.tar.gz::https://github.com/$_project/archive/$_sha.tar.gz" + +_builddir="$srcdir"/${_project#*/}-$_sha +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./autogen.sh || return 1 + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +simple_client() { + pkgdesc="Aurena simple client" + mkdir -p "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/bin/aurena-simple* \ + "$subpkgdir"/usr/bin/ || return 1 +} + +md5sums="6c41811d8a6f4e7499a628d20e822832 aurena-ccc0530a57edf8e86729abaf378779d2e689aabf.tar.gz" +sha256sums="92f4aa89b412ab3221ab90fb610a114a70a549d347b9eb2d4a8f62de4c59dd96 aurena-ccc0530a57edf8e86729abaf378779d2e689aabf.tar.gz" +sha512sums="3ee629fda2e889775fb6c36dd212aa9ecb29354e738cca55a930192a70d422265c148aa4807f4c3a14bb478e0411c25507aeb719d824d641dc32c33e3b335994 aurena-ccc0530a57edf8e86729abaf378779d2e689aabf.tar.gz" |