updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / afsp / PKGBUILD
blobf358f35c0691196260037bf2c2e32414c49f5829
1 # Contributor: Nathan Owe <ndowens04 at gmail>
2 pkgname=afsp
3 pkgver=v9r0
4 pkgrel=1
5 pkgdesc="Audio file utility programs and a library of routines for audio files."
6 arch=('i686' 'x86_64')
7 url="http://www-mmsp.ece.mcgill.ca/Documents/Software/Packages/AFsp/AFsp.html"
8 license=('custom')
9 depends=('glibc')
10 source=("http://www-mmsp.ece.mcgill.ca/Documents/Downloads/AFsp/AFsp-$pkgver.tar.gz" "LICENSE")
11 md5sums=('1542de2ad2bcfa694d42f5e74f36cb59'
12          '04c4ad8c03644d1ce8790512fb0b7b03')
14 package() {
15   #SRC File permissions are set wrong, changed for pacman to be able to "cd" into the build dir and compile 
16   chmod -R a+rw $srcdir/AFsp-$pkgver
18   cd "${srcdir}/AFsp-${pkgver}"
19   install -d ${pkgdir}/usr/share/licenses/${pkgname}
21   make
23   make prefix=/usr \
24        libdir=${pkgdir}/usr/lib/ \
25        datadir=${pkgdir}/usr/share \
26        includedir=${pkgdir}/usr/include \
27        mandir=${pkgdir}/usr/share/man \
28        bindir=${pkgdir}/usr/bin install
30 install -Dm644 ${srcdir}/LICENSE \
31         ${pkgdir}/usr/share/licenses/${pkgname}/
33 #Fix File permissions
34 chmod 644 $pkgdir/usr/lib/{libtsplite.a,libAO.a}
38 # vim:set ts=2 sw=2 et: