PKGBUILDs/community/dumb/PKGBUILD

38 lines
945 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
#Maintainer: JJDaNiMoTh <jjdanimoth@gmail.com>
# Contributor: Bj<42>rn Lindeijer <bjorn lindeijer nl>
pkgname=dumb
pkgver=0.9.3
pkgrel=1
pkgdesc="An IT, XM, S3M and MOD player library"
arch=('i686' 'x86_64')
license=('custom:dumb' 'GPL')
url="http://dumb.sourceforge.net/"
depends=('glibc')
makedepends=('allegro')
source=(http://downloads.sourceforge.net/sourceforge/dumb/$pkgname-$pkgver.tar.gz)
build() {
cd $startdir/src/$pkgname-$pkgver
# Create the directories which the Makefile somehow fails to create
mkdir -p lib/unix
mkdir -p obj/unix/debug
mkdir -p obj/unix/release
# Make with Allegro support
make PREFIX=$startdir/pkg/usr << EOF
Y
EOF
# Create directories
mkdir -p $startdir/pkg/usr/lib
mkdir -p $startdir/pkg/usr/bin
mkdir -p $startdir/pkg/usr/include
install -D -m644 licence.txt \
$startdir/pkg/usr/share/licenses/$pkgname/licence.txt
make install
}
md5sums=('f48da5b990aa8aa822d3b6a951baf5c2')