public
anonymous / gist:3860633
Created

AUR - protege - felix fix

  • Download Gist
gistfile1.txt
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 30 31 32 33
# Maintainer: Thomas Dziedzic < gostrc at gmail >
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
# Contributor: Stefan Husmann <stefan-husmannt-online.de>
 
pkgname=protege
pkgver=4.1.239
pkgrel=1
pkgdesc='Free, open source ontology editor and knowledge-base framework'
arch=('any')
url='http://protege.stanford.edu/'
license=('MPL')
depends=('java-runtime')
optdepends=('graphviz: for owlviz')
source=("http://protege.stanford.edu/download/protege/4.1/zip/protege-${pkgver}.zip"
"http://mirror.sbb.rs/apache/felix/org.apache.felix.framework-4.0.3.jar"
"${pkgname}.sh")
md5sums=('72e277248aa9b74625904f792637742b'
'9e872449cf44b305a186931592b9bc0f'
'777467111f9b6744a1735d307e225e70')
 
package() {
cd Protege_4.1
 
# remove windows crud
rm run.bat
 
install -d ${pkgdir}/usr/share/java/${pkgname}
cp -r * ${pkgdir}/usr/share/java/${pkgname}
 
install -d ${pkgdir}/usr/bin
install -D ${srcdir}/protege.sh ${pkgdir}/usr/bin/protege
install -D ${srcdir}/org.apache.felix.framework-4.0.3.jar ${pkgdir}/usr/share/java/protege/bin/felix.jar
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.