summaryrefslogtreecommitdiff
path: root/community/javasqlite/PKGBUILD
blob: 996fc58b0b9f377663aa2bcda68561f0594e7924 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $Id: PKGBUILD 102709 2013-12-17 18:05:22Z guillaume $
# Maintainer: Guillaume ALAUX <guillaume@archlinux.org>
# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>

pkgname=javasqlite
pkgver=20131124
pkgrel=1
pkgdesc="Java support for SQLite database engine"
arch=('i686' 'x86_64')
url="http://www.ch-werner.de/javasqlite/"
license=('custom:BSD-style')
depends=('java-runtime' 'sqlite')
makedepends=('java-environment')
source=(http://www.ch-werner.de/$pkgname/$pkgname-$pkgver.tar.gz)
sha256sums=('681b58556ea3f565b815efb830993d11c798c93dd961f6b6e7477485591585e2')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir" install
  install -D -m 644 license.terms "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}