diff options
author | Gicu GORODENCO | 2015-06-21 23:50:28 +0200 |
---|---|---|
committer | Gicu GORODENCO | 2015-06-21 23:50:28 +0200 |
commit | 679281c6252f62a02422dea260edb603a7ec1e5b (patch) | |
tree | 1f8260392cb3e338dfb0ec2616797555650d832f | |
download | aur-679281c6252f62a02422dea260edb603a7ec1e5b.tar.gz |
0.2.41-4
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 43 |
2 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a8d14b189bd9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +# Generated by makepkg 4.2.1 +# Sun Apr 12 18:52:22 UTC 2015 +pkgbase = lib32-esound + pkgdesc = Enlightened Sound Daemon (32 bit, library only) + pkgver = 0.2.41 + pkgrel = 4 + url = http://www.tux.org/~ricdude/EsounD.html + arch = x86_64 + license = LGPL + makedepends = gcc-multilib + depends = lib32-audiofile + depends = lib32-alsa-lib>=1.0.18 + depends = esound + options = !libtool + source = http://ftp.gnome.org/pub/GNOME/sources/esound/0.2/esound-0.2.41.tar.bz2 + md5sums = 8d9aad3d94d15e0d59ba9dc0ea990c6c + +pkgname = lib32-esound + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..69c7443ba66a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Gicu Gorodenco <cyclopsihus 'at' gmail 'dot' com> +# Contributor: rafael ff1 <rafael.f.f1 'at' gmail 'dot' com> +_pkgbasename=esound +pkgname=lib32-$_pkgbasename +pkgver=0.2.41 +pkgrel=4 +pkgdesc="Enlightened Sound Daemon (32 bit, library only)" +arch=('x86_64') +url="http://www.tux.org/~ricdude/EsounD.html" +license=('LGPL') +depends=('lib32-audiofile' 'lib32-alsa-lib>=1.0.18' "$_pkgbasename") +makedepends=('gcc-multilib') +options=('!libtool') +source=(http://ftp.gnome.org/pub/GNOME/sources/${_pkgbasename}/0.2/${_pkgbasename}-${pkgver}.tar.bz2) +md5sums=('8d9aad3d94d15e0d59ba9dc0ea990c6c') + +build() { + cd "${srcdir}/${_pkgbasename}-${pkgver}" + + # alsa drain fix + sed -i 's/drain/drop/' audio_alsa09.c + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static \ + --with-audiofile \ + --without-libwrap \ + --enable-alsa \ + --disable-artstest \ + --libdir=/usr/lib32 \ + CC='gcc -m32' + make CFLAGS="$CFLAGS -lm" +} + +package() { + cd "${srcdir}/${_pkgbasename}-${pkgver}" + make DESTDIR="${pkgdir}" install + # Cleanup for a lib32 package + rm -rf ${pkgdir}/usr/{../etc,bin,include,share} + # Install license + install -Dm644 COPYING.LIB ${pkgdir}/usr/share/licenses/${pkgname}/COPYING.LIB +} |