diff options
Diffstat (limited to 'community/libmatemixer')
-rw-r--r-- | community/libmatemixer/APKBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/community/libmatemixer/APKBUILD b/community/libmatemixer/APKBUILD new file mode 100644 index 0000000000..e0c88eb8d5 --- /dev/null +++ b/community/libmatemixer/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: Alan Lacerda <alacerda@alpinelinux.org> +# Maintainer: Alan Lacerda <alacerda@alpinelinux.org> +pkgname=libmatemixer +pkgver=1.10.0 +pkgrel=0 +pkgdesc="A mixer library for MATE desktop" +url="http://git.mate-desktop.org/libmatemixer/" +arch="all" +license="GPL" +depends="" +depends_dev="" +makedepends="$depends_dev intltool glib-dev alsa-lib-dev" +install="" +subpackages="$pkgname-doc $pkgname-dev $pkgname-lang" +source="http://pub.mate-desktop.org/releases/${pkgver%.*}/libmatemixer-$pkgver.tar.xz" + +_builddir="$srcdir/$pkgname-$pkgver" +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" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --sysconfdir=/etc \ + --prefix=/usr \ + --enable-alsa \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="${pkgdir}" install || return 1 +} + +md5sums="6799ee1ac771e63699fd830732a8f5d5 libmatemixer-1.10.0.tar.xz" +sha256sums="a4edc285fa07e6f556a3d6e384c7535f26d3a0bbe1cdc56eadd4f0c034ee5551 libmatemixer-1.10.0.tar.xz" +sha512sums="38a72bc1d09ff169375f16edae5ed4f7a7db92c796423da3107b0f364ae919ad6e4cd96980738bf06bda05a077314c2ff00cf5a59e98313e3989741b4523b341 libmatemixer-1.10.0.tar.xz" |