Date: Thursday, August 25, 2016 @ 13:24:53 Author: guillaume Revision: 187510
Upstream release 20150419 Modified: javasqlite/trunk/PKGBUILD ----------+ PKGBUILD | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-08-25 11:26:05 UTC (rev 187509) +++ PKGBUILD 2016-08-25 13:24:53 UTC (rev 187510) @@ -3,7 +3,7 @@ # Contributor: Jaroslaw Swierczynski <swier...@aur.archlinux.org> pkgname=javasqlite -pkgver=20140624 +pkgver=20150419 pkgrel=1 pkgdesc="Java support for SQLite database engine" arch=('i686' 'x86_64') @@ -12,7 +12,7 @@ depends=('java-runtime' 'sqlite') makedepends=('java-environment') source=(http://www.ch-werner.de/$pkgname/$pkgname-$pkgver.tar.gz) -sha256sums=('1a018dd579ba8d95367abf1d91272fb8a130b0d73cf4b6e4d73006626321bdca') +sha256sums=('b6b26e2c1a2174f5525d904eb3ff698c3f7089f0d4b4c84cf6121da08c8d801f') build() { cd "$srcdir/$pkgname-$pkgver" @@ -24,6 +24,13 @@ package() { cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir" install + _javadir='/usr/share/java' + make \ + DESTDIR="$pkgdir" \ + JAR_DIR=$_javadir \ + install install -D -m 644 license.terms "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + cd $pkgdir$_javadir + mv sqlite.jar sqlite-$pkgver.jar + ln -s sqlite-$pkgver.jar sqlite.jar }