updated on Wed Jan 11 20:01:35 UTC 2012
[aur-mirror.git] / lwjgl / PKGBUILD
bloba6a1b3f247c630e386c312f4f613b1e3bb74146c
1 # Maintainer: Frederik "Freso" S. Olesen <freso.dk@gmail.com>
2 pkgname=lwjgl
3 pkgver=2.8.2
4 pkgrel=1
5 pkgdesc="Lightweight Java Game Library - for use in game projects in Java."
6 arch=(any)
7 url="http://lwjgl.org/"
8 license=('BSD')
9 changelog=ChangeLog
10 source=(http://downloads.sourceforge.net/java-game-lib/$pkgname-$pkgver.zip)
11 md5sums=('fb1b9ea22c26c40d21deb5a7b0fa972d')
12 sha1sums=('0fd1feb18e8f0854e4e851f2e0c824e545014d35')
14 package() {
15   cd "$srcdir/$pkgname-$pkgver"
16   _sharedir="$pkgdir/usr/share"
17   # Install licenses
18   install -d $_sharedir/licenses/$pkgname/3rdparty
19   install -m644 -t $_sharedir/licenses/$pkgname/3rdparty doc/3rdparty/*
20   install -m644 -t $_sharedir/licenses/$pkgname doc/LICENSE
21   rm -rf doc/LICENSE doc/3rdparty
22   # Install docs
23   install -d $_sharedir/doc/$pkgname
24   install -m644 -t $_sharedir/doc/$pkgname doc/*
25   rm -rf doc
26   # Install library files
27   install -d $_sharedir/$pkgname
28   mv * $_sharedir/$pkgname
31 # vim:set ts=2 sw=2 et: