aboutsummaryrefslogtreecommitdiffstats
path: root/community/gsound/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gsound/APKBUILD')
-rw-r--r--community/gsound/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/gsound/APKBUILD b/community/gsound/APKBUILD
new file mode 100644
index 0000000000..1ff6ade0a9
--- /dev/null
+++ b/community/gsound/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=gsound
+pkgver=1.0.2
+pkgrel=1
+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 gobject-introspection-dev"
+subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
+source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --enable-vala \
+ --enable-introspection
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="3525598aade28129d605e745cd6e8ef292220c446d59b34129056fa2aba7b4aa808c3efd29f4916056e20d5e4046b0edf2a6c9b97c272c95e59af7f8ef62e6b0 gsound-1.0.2.tar.xz"