diff options
author | Antonio Batalesi | 2023-02-27 11:00:03 +0100 |
---|---|---|
committer | Antonio Batalesi | 2023-02-27 11:00:03 +0100 |
commit | 1541c479facc13c02531c65e4bd14e07885f7d3b (patch) | |
tree | 11fa7811e34aed5a18f0fffe5a5e9341157290aa | |
parent | 70f739f08b2202f3fbffaaf5d6fbd4fa772c367d (diff) | |
download | aur-1541c479facc13c02531c65e4bd14e07885f7d3b.tar.gz |
new version, fix deps, switch to maven build
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 17 insertions, 9 deletions
@@ -1,15 +1,17 @@ pkgbase = jive pkgdesc = A standalone JAVA application designed to browse and edit the static TANGO database - pkgver = 7.38 + pkgver = 7.40 pkgrel = 1 url = https://gitlab.com/tango-controls/Jive arch = any license = GPL3 + makedepends = maven depends = java-runtime=8 + depends = jdk8-openjdk depends = sh - source = https://repo1.maven.org/maven2/org/tango-controls/Jive/7.38/Jive-7.38-jar-with-dependencies.jar + source = https://gitlab.com/tango-controls/jive/-/archive/7.40/jive-7.40.tar.gz source = launcher - sha256sums = 891767c2051412966e7f700c218f911ab8a832bee6138418e48265fa8bbd25c3 + sha256sums = cef6231584770b09369f8d0bf1bb85aed2b579e56e218b432687eb2d5492cfdd sha256sums = be94be7e0794c84c6011ebda88adfc1dfce911beaa8aec55f66b4b226ee4b6d7 pkgname = jive @@ -1,20 +1,22 @@ # Maintainer: Antonio Bartalesi <antonio.bartalesi@gmail.com> + _name="Jive" pkgname=${_name,,} -pkgver=7.38 +pkgver=7.40 _jarfile="${_name}-${pkgver}-jar-with-dependencies.jar" pkgrel=1 pkgdesc="A standalone JAVA application designed to browse and edit the static TANGO database" arch=('any') url="https://gitlab.com/tango-controls/${_name}" license=('GPL3') -depends=('java-runtime=8' sh) +depends=('java-runtime=8' jdk8-openjdk sh) +makedepends=(maven) source=( - https://repo1.maven.org/maven2/org/tango-controls/${_name}/${pkgver}/${_jarfile} + https://gitlab.com/tango-controls/${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz launcher ) sha256sums=( - '891767c2051412966e7f700c218f911ab8a832bee6138418e48265fa8bbd25c3' + 'cef6231584770b09369f8d0bf1bb85aed2b579e56e218b432687eb2d5492cfdd' 'be94be7e0794c84c6011ebda88adfc1dfce911beaa8aec55f66b4b226ee4b6d7' ) @@ -23,9 +25,13 @@ prepare() { sed -i "s/package_name/$pkgname/" launcher } +build() { + cd ${pkgname}-${pkgver} + mvn package +} + package() { - cd ${srcdir} - install -D -m755 ${srcdir}/${_jarfile} ${pkgdir}/usr/share/java/${pkgname}/${_jarfile} + install -D -m755 ${srcdir}/${pkgname}-${pkgver}/target/${_jarfile} ${pkgdir}/usr/share/java/${pkgname}/${_jarfile} install -D -m755 ${srcdir}/launcher ${pkgdir}/usr/bin/${pkgname} } |