updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / jsoftware-dbj-addon / PKGBUILD
blobd56c8f365a9442c49bf29db34fbc6cbb5b3e1f16
1 # Contributor: Lorenzo Tomei <tomeil@tiscali.it>
3 pkgname=jsoftware-dbj-addon
4 pkgver=2.5.2
5 pkgrel=1
6 pkgdesc="DBMS developed in J programming language"
7 arch=('any')
8 url="http://www.databaserossoverde.it/jsoftware"
9 license=('GPL')
10 depends=('jsoftware' 'sudo')
11 source=(http://www.databaserossoverde.it/jsoftware/data_dbj_${pkgver}_linux.tar.gz)
12 md5sums=('8e3b74fe312d18a492b360e0f432ab75')
14 build() {
15   cd $startdir/src
16   mkdir -p $startdir/pkg/usr/lib/j/addons
17   cp -a data $startdir/pkg/usr/lib/j/addons/
18   mkdir -p $startdir/pkg/usr/share/applications
19   cp $startdir/pkg/usr/lib/j/addons/data/dbj/examples/dbj.desktop $startdir/pkg/usr/share/applications/
20   mkdir -p $startdir/pkg/etc/rc.d
21   cp $startdir/pkg/usr/lib/j/addons/data/dbj/examples/dbjd.conf $startdir/pkg/etc/
22   cp $startdir/pkg/usr/lib/j/addons/data/dbj/examples/dbjd $startdir/pkg/etc/rc.d/
23   chmod +x $startdir/pkg/etc/rc.d/dbjd