mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
37 lines
945 B
Bash
37 lines
945 B
Bash
#Maintainer: JJDaNiMoTh <jjdanimoth@gmail.com>
|
|
# Contributor: Bjø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')
|