upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / protege / trunk / PKGBUILD
blob565dc24ff4bd5f9ffdbdbc1fbe8961e9558424dc
2 # Maintainer: Morten Linderud <morten@linderud.pw> 
3 # Contributor: Thomas Dziedzic < gostrc at gmail >
4 # Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
5 # Contributor: Stefan Husmann <stefan-husmannt-online.de>
7 pkgname=protege
8 pkgver=5.5.0
9 pkgrel=2
10 pkgdesc='Free, open source ontology editor and knowledge-base framework'
11 arch=('any')
12 url='https://protege.stanford.edu/'
13 license=('MPL')
14 depends=('java-runtime>=8' 'graphviz')
15 makedepends=('maven' 'jdk8-openjdk')
16 source=("$pkgname-$pkgver.tar.gz::https://github.com/protegeproject/protege/archive/v$pkgver.tar.gz"
17         "${pkgname}.sh"
18         "${pkgname}.desktop"
19         "${pkgname}.png")
20 sha256sums=('e33157b1aeda494bad52c2ab2e5d78889a2848bbdd963d44e4acf11aadd729e9'
21             '1c531c402b58130ebcd7e5c0719b4afb49ce928e8e1af07d59c6ee61f26666cc'
22             'e0e054d864fafdee0c7a7a034b4a92fe2fe30fcce77f2aabd71afb57dbbbb0ab'
23             '3ee61d8cfcbcfc91c86c9dddc24e40f9fc0e6943bf879548340610c95d64d194')
25 build(){
26   cd "protege-$pkgver"
27   mvn clean package -Dmaven.test.skip=true
30 package() {
31   cd "protege-$pkgver/protege-desktop/target/protege-$pkgver-platform-independent/Protege-$pkgver"
32   install -d "${pkgdir}/usr/share/java/${pkgname}"
33   cp -r * "${pkgdir}/usr/share/java/${pkgname}"
34   install -d "${pkgdir}/usr/bin"
35   install -D "${srcdir}/protege.sh" "${pkgdir}/usr/bin/protege"
36   install -Dm644 "${srcdir}/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
37   install -Dm644 "${srcdir}/$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"