1 # Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
6 pkgdesc="Free, open source ontology editor and knowledge-base framework - core"
8 url="http://protege.stanford.edu/"
11 depends=(java-runtime)
12 makedepends=(java-environment apache-ant javacc)
13 source=(http://$_realname.stanford.edu/download/release/$_realname-src-$pkgver.zip
14 local.properties $_realname.sh)
15 md5sums=('8dde955bd290af7bec3bf89a4fcd2327'
16 'e18d69e0947e2ad2663b9fb26cd41228'
17 '085ca5896c22a23ae43aeb39229fdb74')
19 cd "$srcdir/Protege $pkgver"
20 cp "$srcdir/local.properties" .
22 install -D "dist/$_realname.jar" "$pkgdir/usr/share/java/$_realname/$_realname.jar"
23 install -d "$pkgdir/usr/share/java/$_realname/plugins"
24 cp -r lib/* "$pkgdir/usr/share/java/$_realname"
25 install -Dm755 "$srcdir/$_realname.sh" "$pkgdir/usr/bin/$_realname"