summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-02-08 07:46:46 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-02-08 14:00:10 +0100
commit3668cce7ff47496a3d1a24e154ac87629832d10d (patch)
tree74267ac09d35c9755c2f2d538c248cd2b0b00e0f /java
parent7eee3a5c23d63e386c4294e76b2912525f0a8ce0 (diff)
downloadabslibre-3668cce7ff47496a3d1a24e154ac87629832d10d.tar.gz
abslibre-3668cce7ff47496a3d1a24e154ac87629832d10d.tar.bz2
abslibre-3668cce7ff47496a3d1a24e154ac87629832d10d.zip
java/* moved to pcr/
Diffstat (limited to 'java')
-rw-r--r--java/byaccj/PKGBUILD36
-rw-r--r--java/byaccj/ldflags.patch12
-rw-r--r--java/java-asm2/PKGBUILD18
-rw-r--r--java/java-asm2/PKGBUILD-bootstrap24
-rw-r--r--java/java-asm2/PKGBUILD.common.sh65
-rw-r--r--java/java-asm3/PKGBUILD17
l---------java/java-asm3/PKGBUILD.common.sh1
-rw-r--r--java/java-cup/PKGBUILD41
-rw-r--r--java/java-cup/java-cup.sh2
-rw-r--r--java/java-sonatype-oss-parent/PKGBUILD21
-rw-r--r--java/not-working/java-bnd/PKGBUILD24
-rw-r--r--java/not-working/junit-truth/PKGBUILD45
-rw-r--r--java/not-working/junit-truth/TODO1
13 files changed, 0 insertions, 307 deletions
diff --git a/java/byaccj/PKGBUILD b/java/byaccj/PKGBUILD
deleted file mode 100644
index 10f2bef95..000000000
--- a/java/byaccj/PKGBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
-# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
-# Maintainer (AUR): <ying@althonx4>
-
-pkgname=byaccj
-pkgver=1.15
-pkgdesc="Berkeley yacc with Java output"
-url="http://byaccj.sourceforge.net/"
-license=('custom:Public Domain')
-
-pkgrel=1
-arch=('i686' 'x86_64' 'mips64el')
-source=(http://downloads.sourceforge.net/project/byaccj/${pkgname}/${pkgver}/${pkgname}${pkgver}_src.tar.gz
- http://metadata.ftp-master.debian.org/changelogs/main/b/byacc-j/byacc-j_${pkgver}-1_copyright
- ldflags.patch)
-md5sums=('5ee9959af35f245ac2c4355f85fdf351'
- 'cc9e2ed821e7f2e5ef8f2be0fdc97b46'
- '76fd678b41d614497cf77c6dba5de63e')
-
-prepare() {
- cd "$srcdir"/$pkgname$pkgver
- patch -Np1 -i ../ldflags.patch
-}
-
-build() {
- cd "$srcdir"/$pkgname$pkgver
- make -C src linux CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
-}
-
-package() {
- cd "$srcdir"/$pkgname$pkgver
- install -Dm755 src/yacc.linux "$pkgdir"/usr/bin/byaccj
- install -Dm644 src/yacc.1 "$pkgdir"/usr/share/man/man1/byaccj.1
- install -d "$pkgdir"/usr/share/doc/$pkgname
- install -m644 docs/* -t "$pkgdir"/usr/share/doc/$pkgname
- install -Dm644 ../byacc-j_$pkgver-1_copyright "$pkgdir"/usr/share/licenses/$pkgname/copyright
-}
diff --git a/java/byaccj/ldflags.patch b/java/byaccj/ldflags.patch
deleted file mode 100644
index 81574d011..000000000
--- a/java/byaccj/ldflags.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ru byaccj1.15.orig/src/Makefile byaccj1.15/src/Makefile
---- byaccj1.15.orig/src/Makefile 2014-06-04 11:10:43.711980001 -0400
-+++ byaccj1.15/src/Makefile 2014-06-04 11:13:00.635987894 -0400
-@@ -75,7 +75,7 @@
- $(CC) -c $(CFLAGS) $(INC) $< -o $@
-
- yacc: $(OBJ)
-- $(CC) -o yacc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 $(OBJ)
-+ $(CC) -o yacc $(LDFLAGS) $(OBJ)
- @echo "done"
-
- clean:
diff --git a/java/java-asm2/PKGBUILD b/java/java-asm2/PKGBUILD
deleted file mode 100644
index 8860ef86f..000000000
--- a/java/java-asm2/PKGBUILD
+++ /dev/null
@@ -1,18 +0,0 @@
-# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
-
-pkgver=2.2.3
-. PKGBUILD.common.sh
-
-####
-
-pkgrel=7
-
-mksource() {
- cd "$srcdir/$_pkgname-$pkgver"
- rm test/conform/org/objectweb/asm/attrs/StackMapTableSample.data
- rm test/conform/cases/*.class
- mkdir -p test/lib
-}
-
-mkmd5sums=('7a92c87bf067925685cf68dcc0dd8998')
-md5sums=('c2119ab39618cb49ca4e4ad74344b488')
diff --git a/java/java-asm2/PKGBUILD-bootstrap b/java/java-asm2/PKGBUILD-bootstrap
deleted file mode 100644
index cbe29bb34..000000000
--- a/java/java-asm2/PKGBUILD-bootstrap
+++ /dev/null
@@ -1,24 +0,0 @@
-# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
-
-# "java-asm2" is required to build "java-ow-util-ant-tasks", which is in turn
-# required to build "java-asm2".
-
-. PKGBUILD
-
-makedepends=(jh)
-source=("http://download.forge.objectweb.org/$_pkgname/$_pkgname-$pkgver-bin.zip")
-unset mksource
-_distdir="$_pkgname-$pkgver"
-
-provides+=("$pkgname=$pkgver")
-pkgname+='-bootstrap'
-pkgdesc+=" (prebuilt binary release for bootstrapping purposes)"
-
-build() {
- cd "$srcdir/$_pkgname-$pkgver"
- echo "3-clause BSD license; install the non-bootstrap version for full text" > LICENSE.txt
- cd "$srcdir/$_distdir/lib"
- ln -s all/* .
-}
-
-md5sums=('9bedaa1d00c5b5f1c7fec10a2d2f7142')
diff --git a/java/java-asm2/PKGBUILD.common.sh b/java/java-asm2/PKGBUILD.common.sh
deleted file mode 100644
index ef4547696..000000000
--- a/java/java-asm2/PKGBUILD.common.sh
+++ /dev/null
@@ -1,65 +0,0 @@
-# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
-
-_pkgname=asm
-pkgname=java-asm${pkgver%%.*}
-pkgdesc="An all purpose Java bytecode manipulation and analysis framework."
-url="http://asm.ow2.org/"
-license=('custom:BSD3')
-
-arch=('any')
-depends=('java-runtime')
-makedepends=(
- apache-ant
- java-ow-util-ant-tasks
- jh
-)
-source=("libre://$pkgname-$pkgver.tar.gz")
-mksource=("http://download.forge.objectweb.org/$_pkgname/$_pkgname-$pkgver.tar.gz")
-
-_distdir="$_pkgname-$pkgver/output/dist"
-_ow_util_ant_tasks='/usr/share/java/ow_util_ant_tasks.jar'
-
-build() {
- cd "$srcdir/$_pkgname-$pkgver"
-
- echo "objectweb.ant.tasks.path $_ow_util_ant_tasks" >> build.properties
- ant dist
-
- # This will make package() easier:
- cd "$srcdir/$_distdir/lib"
- ln -sf all/* .
-}
-
-package() {
- # Install license file
- cd "$srcdir/$_pkgname-$pkgver"
- install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
- # Install documentation
- cd "$srcdir/$_distdir"
- install -d "$pkgdir/usr/share/doc/$pkgname"
- cp -r doc/javadoc/user "$pkgdir/usr/share/doc/$pkgname/javadoc"
- cp -r examples "$pkgdir/usr/share/doc/$pkgname/examples"
-
- # Install the README about the -all files
- cd "$srcdir/$_distdir/lib"
- install -Dm644 README.txt \
- "$pkgdir"/usr/share/java/$_pkgname/README-$pkgver.txt
-
- # Install Maven artifacts
- export DESTDIR=$pkgdir
- for artifact in $(printf '%s\n' *.pom|sed 's/-[0-9.]*\.pom$//'); do
- if [[ -f $artifact-$pkgver.jar ]]; then
- # This artifact has a jar file
- jh mvn-install $_pkgname $artifact $pkgver $artifact-$pkgver.{pom,jar}
- # Symlink them to /usr/share/java
- ln -s "$(jh mvn-basename asm $artifact $pkgver).jar" \
- "$pkgdir"/usr/share/java/$_pkgname/
- ln -s $_pkgname/$artifact-$pkgver.jar \
- "$pkgdir"/usr/share/java/$artifact-${pkgver%%.*}.jar
- else
- # This artifact is just a pom
- jh mvn-install $_pkgname $artifact $pkgver $artifact-$pkgver.pom
- fi
- done
-}
diff --git a/java/java-asm3/PKGBUILD b/java/java-asm3/PKGBUILD
deleted file mode 100644
index 9c9928766..000000000
--- a/java/java-asm3/PKGBUILD
+++ /dev/null
@@ -1,17 +0,0 @@
-# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
-
-pkgver=3.3.1
-. PKGBUILD.common.sh
-
-####
-
-pkgrel=7
-
-mksource() {
- cd "$srcdir/$_pkgname-$pkgver"
- rm cobertura.ser # We regenerate this
- rm examples/jasmin/test/jasmin.jar
-}
-
-mkmd5sums=('433024df8176f09922646316e415631c')
-md5sums=('c49fb45629cf8670b7f46b95013141cd')
diff --git a/java/java-asm3/PKGBUILD.common.sh b/java/java-asm3/PKGBUILD.common.sh
deleted file mode 120000
index e76a92ae0..000000000
--- a/java/java-asm3/PKGBUILD.common.sh
+++ /dev/null
@@ -1 +0,0 @@
-../java-asm2/PKGBUILD.common.sh \ No newline at end of file
diff --git a/java/java-cup/PKGBUILD b/java/java-cup/PKGBUILD
deleted file mode 100644
index 97b41e20b..000000000
--- a/java/java-cup/PKGBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
-
-pkgname=java-cup
-_pkgver=0.10k
-pkgver=0.10.k
-pkgdesc="LALR parser generator for Java"
-url=http://www2.cs.tum.edu/projects/cup/
-license=('custom:MIT')
-
-pkgrel=1
-arch=('any')
-depends=('java-environment')
-
-source=(http://www2.cs.tum.edu/projects/cup/java_cup_v${_pkgver#*.}.tar.gz java-cup.sh)
-md5sums=('8b11edfec13c590ea443d0f0ae0da479'
- '2ec9859574d479ee27c71e8b7f978eea')
-
-prepare() {
- cd "$srcdir"
- find . -name '*.class' -delete
-}
-
-build() {
- cd "$srcdir"
- mkdir classes
- find java_cup -name '*.java' -exec javac -d classes {} +
- jar cfe java_cup.jar java_cup.Main -C classes .
-}
-
-package() {
- cd "$srcdir"
-
- install -Dm644 java_cup.jar "$pkgdir"/usr/share/java/java_cup-${_pkgver}.jar
- ln -s java_cup-${_pkgver}.jar "$pkgdir"/usr/share/java/java_cup.jar
-
- install -Dm755 java-cup.sh "$pkgdir"/usr/bin/java-cup
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
- install -d "$pkgdir"/usr/share/doc/$pkgname
- install -m644 manual.html cup_logo.gif -t "$pkgdir"/usr/share/doc/$pkgname
-}
diff --git a/java/java-cup/java-cup.sh b/java/java-cup/java-cup.sh
deleted file mode 100644
index b7bf91d14..000000000
--- a/java/java-cup/java-cup.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-java -jar /usr/share/java/java_cup.jar "$@"
diff --git a/java/java-sonatype-oss-parent/PKGBUILD b/java/java-sonatype-oss-parent/PKGBUILD
deleted file mode 100644
index 4936a8067..000000000
--- a/java/java-sonatype-oss-parent/PKGBUILD
+++ /dev/null
@@ -1,21 +0,0 @@
-# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
-
-pkgname=java-sonatype-oss-parent
-pkgver=7
-pkgdesc="Metadata file for Maven-based build systems to inherit from"
-license=('Apache2')
-
-_groupId=org.sonatype.oss
-_artifactId=oss-parent
-
-pkgrel=1
-arch=('any')
-makedepends=('jh')
-source=("http://search.maven.org/remotecontent?filepath=$_groupId/$_artifactId/$pkgver/$_artifactId-$pkgver.pom")
-
-package() {
- cd "$srcdir"
- DESTDIR=$pkgdir jh mvn-install $_groupId $_artifactId $pkgver $_artifactId-$pkgver.pom
-}
-
-md5sums=('3e418cf7f2607bf359e6c514a992cb38')
diff --git a/java/not-working/java-bnd/PKGBUILD b/java/not-working/java-bnd/PKGBUILD
deleted file mode 100644
index 86820469a..000000000
--- a/java/not-working/java-bnd/PKGBUILD
+++ /dev/null
@@ -1,24 +0,0 @@
-# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
-
-_pkgname=bnd
-pkgname=java-bnd
-pkgver=1.50.0
-pkgdesc="A swiss army knife for OSGi"
-url="http://www.aqute.biz/Bnd/"
-license=('Apache2')
-
-pkgrel=1
-arch=(any)
-makedepends=('apache-ant' 'junit')
-source=("git://github.com/bndtools/bnd.git")
-
-build() {
- cd "$srcdir/$_pkgname"
- ant dist
-}
-
-package() {
- :
-}
-
-md5sums=('SKIP')
diff --git a/java/not-working/junit-truth/PKGBUILD b/java/not-working/junit-truth/PKGBUILD
deleted file mode 100644
index 61a0ee469..000000000
--- a/java/not-working/junit-truth/PKGBUILD
+++ /dev/null
@@ -1,45 +0,0 @@
-# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
-
-pkgname=junit-truth
-pkgdesc="Assertion/Proposition framework for Java unit tests."
-url="https://github.com/truth0/truth"
-license=('Apache2')
-
-#_pkgver=0.5.0-beta1
-#pkgver=${_pkgver//-/.}
-#_tag=v${_pkgver}
-
-#pkgver=0.7.0
-#_tag=truth-rel-${pkgver//./-}
-
-#pkgver=0.8
-#_tag=truth-${pkgver}
-
-#pkgver=0.9
-#_tag=release_${pkgver//./_}
-
-pkgver=0.10
-_tag=release_${pkgver//./_}
-
-pkgrel=1
-arch=('any')
-depends=('junit')
-makedepends=('maven' 'jh')
-conflicts=('openjdk6') # OpenJDK bug 100167 conflicts
-source=("$pkgname::git://github.com/truth0/truth.git#tag=$tag")
-
-build() {
- cd "${srcdir}/${pkgname}"
- jh checksource
- mvn package
-}
-
-package() {
- cd "${srcdir}/${pkgname}"
- install -d "${pkgdir}"/usr/share/java/${pkgname}
- JAR=${pkgname}-${pkgver}.jar
- install -Dm 644 target/${JAR} "${pkgdir}"/usr/share/java/${pkgname}
- ln -s ${pkgname}/${JAR} "${pkgdir}"/usr/share/java/${pkgname}.jar
-}
-
-md5sums=('SKIP')
diff --git a/java/not-working/junit-truth/TODO b/java/not-working/junit-truth/TODO
deleted file mode 100644
index d21b3e472..000000000
--- a/java/not-working/junit-truth/TODO
+++ /dev/null
@@ -1 +0,0 @@
-has unpackaged dependencies