diff options
Diffstat (limited to 'testing/gsound')
-rw-r--r-- | testing/gsound/APKBUILD | 37 |
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" |