summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d1f3e81f628087ef6cffc7d65ece76f0703764e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: BrainDamage
pkgname="naspro-core"
pkgrel=1
pkgver=0.5.1
pkgdesc="NASPRO core is the portable runtime library at the bottom of the NASPRO Architecture for Sound PROcessing."
arch=('x86' 'x86_64')
url="http://naspro.sourceforge.net/libraries.html#naspro-core"
license=("LGPL")
depends=()
sha1sums=("SKIP")
source=("http://sourceforge.net/projects/naspro/files/naspro/$pkgver/naspro-core-$pkgver.tar.bz2")


build() {
	cd "$srcdir/naspro-core-$pkgver"
	#FIXME: deprecation of readdir_r, should be replaced with readdir
	#https://sourceware.org/bugzilla/show_bug.cgi?id=19056
	CFLAGS='-Wno-error' ./configure --prefix=/usr
	make
}

package() {
	cd "$srcdir/naspro-core-$pkgver"
	make DESTDIR="$pkgdir" install
}