updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / awesfx / PKGBUILD
blobb6d19abb06d9ff44668a0559c7683035ad0c081d
1 # Contributor: Paul Bredbury <brebs@sent.com>
3 pkgname=awesfx
4 pkgver=0.5.1c
5 pkgrel=3
6 pkgdesc="Utilities for emu10k1 cards (e.g. asfxload)"
7 arch=(i686 x86_64)
8 # No proper homepage
9 # http://www.alsa-project.org/~tiwai/awedrv.html
10 url="http://ftp.suse.com/pub/people/tiwai/awesfx/"
11 license=('GPL')
12 depends=('alsa-lib')
13 makedepends=('autoconf' 'automake' 'libtool')
14 source=(http://ftp.suse.com/pub/people/tiwai/awesfx/awesfx-${pkgver}.tar.bz2
15 awesfx-0.5.1c-getline.patch
18 md5sums=('73f940279f909bfa5ad307d904bc88da'
19          '315f33727abea43bcd723eb7edc5f747')
21 build() {
22   cd ${startdir}/src/awesfx-${pkgver}
24   patch < $srcdir/awesfx-0.5.1c-getline.patch
25   autoreconf -fi || return 1  # As in awesfx-0.5.1c/etc/awesfx.spec
27   ./configure --prefix=/usr || return 1
28   make || return 1
29   make DESTDIR=${startdir}/pkg install || return 1
31   # Docs
32   mkdir -p $startdir/pkg/usr/share/doc/$pkgname
33   install -m644 -t $startdir/pkg/usr/share/doc/$pkgname/ ChangeLog README || return 1