core/libmikmod/PKGBUILD

30 lines
589 B
Bash
Raw Normal View History

2010-03-14 23:48:48 +08:00
pkgname=libmikmod
2018-05-24 05:54:20 +08:00
pkgver=3.3.11.1
2016-01-20 16:23:23 +08:00
pkgrel=1
2010-03-14 23:48:48 +08:00
pkgdesc="A portable sound library"
license=('GPL' 'LGPL')
url="http://sourceforge.net/projects/mikmod/"
2016-01-20 16:23:23 +08:00
arch=('x86_64')
depends=('libpulse' 'sh')
makedepends=('alsa-lib')
source=(http://downloads.sourceforge.net/mikmod/${pkgname}-${pkgver}.tar.gz)
2018-05-24 05:54:20 +08:00
md5sums=('f69d7dd06d307e888f466fc27f4f680b')
prepare() {
mkdir build
}
2010-03-14 23:48:48 +08:00
build() {
2018-05-24 05:54:20 +08:00
cd build
../$pkgname-$pkgver/configure \
--prefix=/usr \
--disable-static
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
2016-01-20 16:23:23 +08:00
make
}
2010-03-14 23:48:48 +08:00
2016-01-20 16:23:23 +08:00
package() {
2018-05-24 05:54:20 +08:00
cd build
make DESTDIR="$pkgdir" install
2010-03-14 23:48:48 +08:00
}