mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
extra/java-commons-daemon to 1.0.15-3
This commit is contained in:
parent
0bfb1d4822
commit
1814c20a36
1 changed files with 7 additions and 6 deletions
|
@ -6,14 +6,16 @@
|
|||
pkgname=('java-commons-daemon' 'java-jsvc')
|
||||
pkgbase=java-commons-daemon
|
||||
pkgver=1.0.15
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://commons.apache.org/daemon/'
|
||||
url='https://commons.apache.org/proper/commons-daemon/'
|
||||
license=('APACHE')
|
||||
_libname=commons-daemon
|
||||
source=(http://archive.apache.org/dist/commons/daemon/source/${_libname}-${pkgver}-src.tar.gz
|
||||
source=(https://archive.apache.org/dist/commons/daemon/source/${_libname}-${pkgver}-src.tar.gz{,.asc}
|
||||
arm64.diff)
|
||||
validpgpkeys=('F7DA48BB64BCB84ECBA7EE6935CD23C10D498E23') # Mladen Turk (Default signing key)
|
||||
sha256sums=('11ee57d2c6b281589c1497b2f88180553f06d5ac1560ce1841e05f89f0342432'
|
||||
'SKIP'
|
||||
'00ce26841fb1bf74e072d3c2faa1c9989d52f28d36365dceaaa3744581681a7b')
|
||||
makedepends=('apache-ant' 'docbook2x' 'docbook-xsl')
|
||||
|
||||
|
@ -27,12 +29,11 @@ build() {
|
|||
|
||||
# commons-daemon.jar
|
||||
cd "${srcdir}/${_libname}-${pkgver}-src"
|
||||
. /etc/profile.d/jre.sh
|
||||
ant
|
||||
|
||||
# jsvc
|
||||
cd "${srcdir}/${_libname}-${pkgver}-src/src/native/unix"
|
||||
./configure --with-java=/usr/lib/jvm/java-7-openjdk
|
||||
JAVA_HOME=/usr/lib/jvm/default ./configure
|
||||
make
|
||||
docbook2man man/jsvc.1.xml
|
||||
}
|
||||
|
@ -43,7 +44,7 @@ package_java-commons-daemon() {
|
|||
|
||||
cd "${srcdir}/${_libname}-${pkgver}-src"
|
||||
|
||||
install -Dm755 dist/${_libname}-${pkgver}.jar \
|
||||
install -Dm644 dist/${_libname}-${pkgver}.jar \
|
||||
${pkgdir}/usr/share/java/${_libname}-${pkgver}.jar
|
||||
ln -s ${_libname}-${pkgver}.jar \
|
||||
${pkgdir}/usr/share/java/${_libname}.jar
|
||||
|
|
Loading…
Reference in a new issue