aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gsound/APKBUILD
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-04-24 00:00:14 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2019-05-24 12:55:20 +0000
commit045964f9b92bfad1d6e58a473b8720db2790159d (patch)
tree133b6a181ceb1e8cdcc522efe96d8e4375a4ff73 /testing/gsound/APKBUILD
parentad2f93d3eeb638350895c1ebbc0dd05ee1bd34ef (diff)
downloadaports-045964f9b92bfad1d6e58a473b8720db2790159d.tar.gz
aports-045964f9b92bfad1d6e58a473b8720db2790159d.tar.bz2
aports-045964f9b92bfad1d6e58a473b8720db2790159d.tar.xz
testing/gsound: new aport
Diffstat (limited to 'testing/gsound/APKBUILD')
-rw-r--r--testing/gsound/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/gsound/APKBUILD b/testing/gsound/APKBUILD
new file mode 100644
index 0000000000..36ba31e91f
--- /dev/null
+++ b/testing/gsound/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=gsound
+pkgver=1.0.2
+pkgrel=0
+pkgdesc="Small library for playing system sounds"
+url="https://wiki.gnome.org/Projects/GSound"
+arch="all"
+license="LGPL-2.1-or-later"
+makedepends="intltool glib-dev vala libcanberra-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="3525598aade28129d605e745cd6e8ef292220c446d59b34129056fa2aba7b4aa808c3efd29f4916056e20d5e4046b0edf2a6c9b97c272c95e59af7f8ef62e6b0 gsound-1.0.2.tar.xz"