diff options
author | unknown | 2011-02-05 23:13:21 -0800 |
---|---|---|
committer | Thomas Dziedzic | 2011-02-05 23:13:21 -0800 |
commit | 38bc45c6291956a30aa0474be8a34a4c58071037 (patch) | |
tree | b2f92f98fd23f0820f2e97344029c4674f6852ee | |
download | aur-38bc45c6291956a30aa0474be8a34a4c58071037.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ee6224e188e2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = lwjgl + pkgdesc = The Lightweight Java Game Library. Binary install. + pkgver = 2.6 + pkgrel = 1 + url = http://lwjgl.org + arch = i686 + arch = x86_64 + license = BSD + makedepends = unzip + depends = java-runtime>=6 + depends = openal + source = http://downloads.sourceforge.net/project/java-game-lib/Official%20Releases/LWJGL%202.6/lwjgl-2.6.zip + md5sums = a5317ff0eb2e63804d6e355f7f2107a1 + +pkgname = lwjgl + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..034b5ab6ddde --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +pkgname=lwjgl +pkgver=2.6 +pkgrel=1 +pkgdesc="The Lightweight Java Game Library. Binary install." +arch=(i686 x86_64) +url="http://lwjgl.org" +license=('BSD') +source=(http://downloads.sourceforge.net/project/java-game-lib/Official%20Releases/LWJGL%20$pkgver/$pkgname-$pkgver.zip) +depends=('java-runtime>=6' 'openal') +makedepends=('unzip') +md5sums=('a5317ff0eb2e63804d6e355f7f2107a1') + +build() { + cd $srcdir/$pkgname-$pkgver + #unzip -q $pkgname-$pkgver.zip + #cd $pkgname-$pkgver + install -d $pkgdir/usr/lib/ $pkgdir/usr/share/java/ + + [ "${CARCH}" = "x86_64" ] && cp native/linux/liblwjgl64.so native/linux/libjinput-linux64.so $pkgdir/usr/lib/ + [ "${CARCH}" = "i686" ] && cp native/linux/liblwjgl.so native/linux/libjinput-linux.so $pkgdir/usr/share/java/ + cp jar/* $pkgdir/usr/share/java/ +} + |