From 3668cce7ff47496a3d1a24e154ac87629832d10d Mon Sep 17 00:00:00 2001 From: Andreas Grapentin Date: Thu, 8 Feb 2018 07:46:46 +0100 Subject: java/* moved to pcr/ --- java/java-asm2/PKGBUILD | 18 ----------- java/java-asm2/PKGBUILD-bootstrap | 24 --------------- java/java-asm2/PKGBUILD.common.sh | 65 --------------------------------------- 3 files changed, 107 deletions(-) delete mode 100644 java/java-asm2/PKGBUILD delete mode 100644 java/java-asm2/PKGBUILD-bootstrap delete mode 100644 java/java-asm2/PKGBUILD.common.sh (limited to 'java/java-asm2') 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 - -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 - -# "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 - -_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 -} -- cgit v1.2.3