# Contributor: William Pitcock <nenolod@dereferenced.org> # Maintainer: setvar pkgname = 'freealut' setvar pkgver = '1.1.0' setvar pkgrel = '2' setvar pkgdesc = ""A free audio library user toolkit"" setvar url = ""https://github.com/vancegroup/freealut"" setvar arch = ""all"" setvar license = ""GPL2"" setvar depends = '' setvar depends_dev = ""openal-soft-dev"" setvar makedepends = ""$depends_dev autoconf automake libtool"" setvar install = """" setvar subpackages = ""$pkgname-dev"" setvar source = ""https://github.com/vancegroup/freealut/archive/freealut_${pkgver//./_}.tar.gz"" setvar _builddir = ""$srcdir"/freealut-freealut_${pkgver//./_}" proc prepare { local i cd $_builddir for i in $source { case (i) { *.patch { msg $i; patch -p1 -i "$srcdir"/$i || return 1} } } } proc build { cd $_builddir ./autogen.sh || return 1 ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ || return 1 make || return 1 } proc package { cd $_builddir make DESTDIR="$pkgdir" install || return 1 } setvar md5sums = ""66e21cb1d2aee23f587d9304ac6cbddc freealut_1_1_0.tar.gz"" setvar sha256sums = ""c3880d7dbb90c7db54e1d6b88aa0a34dd9e2d828fd389be0d2cbb2632b0885dd freealut_1_1_0.tar.gz"" setvar sha512sums = ""c9dead230434b3916f91e219913c2b2c877c4594d74b63641246a6704e28fe8d415131127cc00b51355f2fdf4e2bbf8aaf2b802fec479b05927e39a8698c251e freealut_1_1_0.tar.gz""