This commit is contained in:
Carsten Teibes 2014-01-08 22:39:48 +01:00
parent 33b7a91a4b
commit 82a4f9bf18
2 changed files with 7 additions and 13 deletions

View file

@ -1,5 +1,5 @@
pkgbase = clanlib-23
pkgdesc = A multi-platform game development library (legacy 2.3 branch).
pkgdesc = A multi-platform game development library (legacy 2.3 branch)
pkgver = 2.3.7
pkgrel = 2
url = http://clanlib.org/
@ -18,7 +18,6 @@ pkgbase = clanlib-23
depends = libgl
options = !libtool
source = http://clanlib.org/download/releases-2.0/ClanLib-2.3.7.tgz
md5sums = 65c9881286c47bbe88b2b691aacbc05b
sha256sums = d46127c08103f48d15936ceb9f95b3dfb1ff8ccba667cef1b3f8e639cb2601c2
pkgname = clanlib-23

View file

@ -1,10 +1,10 @@
# Maintainer: carstene1ns <arch carsten-teibes de>
# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
pkgname=clanlib-23
pkgver=2.3.7
pkgrel=2
pkgdesc="A multi-platform game development library (legacy 2.3 branch)."
pkgdesc="A multi-platform game development library (legacy 2.3 branch)"
arch=('i686' 'x86_64')
url="http://clanlib.org/"
license=('zlib')
@ -13,25 +13,20 @@ depends=('alsa-lib' 'libjpeg' 'libmikmod' 'libvorbis' 'fontconfig' 'pcre'
makedepends=('mesa')
options=('!libtool')
source=("http://clanlib.org/download/releases-2.0/ClanLib-2.3.7.tgz")
md5sums=('65c9881286c47bbe88b2b691aacbc05b')
sha256sums=('d46127c08103f48d15936ceb9f95b3dfb1ff8ccba667cef1b3f8e639cb2601c2')
build() {
cd ${srcdir}/ClanLib-${pkgver}
cd ClanLib-$pkgver
./autogen.sh
# disable legacy gl1 renderer and documentation
./configure --prefix=/usr --disable-clanGL1 --disable-docs
make
}
package() {
cd ${srcdir}/ClanLib-${pkgver}
cd ClanLib-$pkgver
make DESTDIR=${pkgdir} install
install -d ${pkgdir}/usr/share/licenses/${pkgname}
install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/
make DESTDIR="$pkgdir/" install
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}