community/zeroc-ice to 3.7.2-1.2

This commit is contained in:
Kevin Mihelich 2019-09-29 18:17:30 +00:00
parent c4ac77d58a
commit 7c4a7bbe46

View file

@ -5,18 +5,18 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - fix 32-bit lib packaging
# - drop zeroc-ice-java due to gradle FTBFS
highmem=1
pkgname=(zeroc-ice zeroc-ice-java)
pkgbase=(zeroc-ice)
pkgname=zeroc-ice
pkgver=3.7.2
pkgrel=1.1
pkgrel=1.2
pkgdesc="An object-oriented middleware that provides RPC functionality"
arch=(x86_64)
url="https://zeroc.com"
license=(GPL custom:ice)
makedepends=(bzip2 gradle java-environment)
makedepends=(bzip2)
depends=(mcpp lmdb)
source=(
"ice-${pkgver}.tar.gz::https://github.com/zeroc-ice/ice/archive/v${pkgver}.tar.gz"
@ -37,10 +37,10 @@ _make_args=(
build() {
cd ${srcdir}/ice-${pkgver}
make "${_make_args[@]}" "LANGUAGES=cpp java"
make "${_make_args[@]}" "LANGUAGES=cpp"
}
package_zeroc-ice() {
package() {
backup=("etc/glacier2router.conf"
"etc/icegridnode.conf"
"etc/icegridregistry.conf"
@ -75,15 +75,3 @@ package_zeroc-ice() {
install -Dm644 ${srcdir}/zeroc-ice.sysusers ${pkgdir}/usr/lib/sysusers.d/$pkgname.conf
}
package_zeroc-ice-java() {
makedepends=(gradle 'java-environment=8')
depends=(zeroc-ice java-environment)
cd ${srcdir}/ice-${pkgver}
export GRADLE_USER_HOME=/tmp
make install "${_make_args[@]}" DESTDIR="${pkgdir}" "LANGUAGES=java"
rm -rf "${pkgdir}"/usr/share/ice
}