mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
24 lines
837 B
Bash
24 lines
837 B
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Eric Belanger <eric@archlinux.org>
|
|
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
|
|
|
|
pkgname=plib
|
|
pkgver=1.8.5
|
|
pkgrel=1.1
|
|
pkgdesc=" PLIB is a set of libraries to write games and other realtime interactive applications"
|
|
arch=('i686' 'x86_64')
|
|
url="http://plib.sourceforge.net/"
|
|
license=('custom:LGPL')
|
|
makedepends=('mesa' 'libxi' 'libxmu')
|
|
source=(http://plib.sourceforge.net/dist/$pkgname-$pkgver.tar.gz)
|
|
md5sums=('47a6fbf63668c1eed631024038b2ea90')
|
|
sha1sums=('c2cf7e3e1e58f7b63dae4bb21e4fa82c3e4d4cfc')
|
|
|
|
build() {
|
|
cd $startdir/src/$pkgname-$pkgver
|
|
[ "$CARCH" = "x86_64" ] && export CXXFLAGS="$CXXFLAGS -fPIC"
|
|
./configure --prefix=/usr
|
|
make || return 1
|
|
make DESTDIR=$startdir/pkg install
|
|
install -D -m644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
|
|
}
|