summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/jmdns/PKGBUILD12
1 files changed, 5 insertions, 7 deletions
diff --git a/pcr/jmdns/PKGBUILD b/pcr/jmdns/PKGBUILD
index fad9af807..76ee1ccbb 100644
--- a/pcr/jmdns/PKGBUILD
+++ b/pcr/jmdns/PKGBUILD
@@ -1,16 +1,16 @@
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=jmdns
-pkgver=3.5.1
+pkgver=3.4.1
pkgrel=1
pkgdesc="Java implementation of multi-cast DNS (Apple Rendezvous)"
arch=('any')
url="https://github.com/jmdns/jmdns"
license=('APACHE')
depends=('java-runtime')
-makedepends=('java-environment' 'jh' 'slf4j')
+makedepends=('java-environment' 'jh')
source=("https://github.com/$pkgname/$pkgname/archive/$pkgname-$pkgver.tar.gz")
-sha256sums=('dbb18a5add7e67c804826bd60419ab0d0c2dfd44d3e7a863e2890c9ce1f05c0f')
+sha256sums=('2c9240647761645d48b73400f5f23dfde228ea56d6d955e7ee9529ab89b9d839')
prepare() {
cd "$srcdir/$pkgname-$pkgname-$pkgver"
@@ -19,10 +19,8 @@ prepare() {
build() {
cd "$srcdir/$pkgname-$pkgname-$pkgver"
- CLASSPATH="/usr/share/java/slf4j-api.jar"
- javac -cp $CLASSPATH -d build/classes $(find src/main/java -name \*.java)
- javadoc -classpath $CLASSPATH -d build/javadoc \
- -sourcepath src/main/java -subpackages javax
+ javac -d build/classes $(find src/main/java -name \*.java)
+ javadoc -d build/javadoc -sourcepath src/main/java -subpackages javax
jar -cvf "$pkgname.jar" -C build/classes .
}