diff options
-rw-r--r-- | ~lukeshu-closure-compiler/java-asm/PKGBUILD | 46 | ||||
-rw-r--r-- | ~lukeshu-closure-compiler/java-jarjar/PKGBUILD | 39 | ||||
-rw-r--r-- | ~lukeshu-closure-compiler/java-jarjar/SRCBUILD | 42 | ||||
-rw-r--r-- | ~lukeshu-closure-compiler/protobuf-java/PKGBUILD | 34 | ||||
-rw-r--r-- | ~lukeshu-closure-compiler/protobuf-java/protobuf-java.patch | 21 |
5 files changed, 0 insertions, 182 deletions
diff --git a/~lukeshu-closure-compiler/java-asm/PKGBUILD b/~lukeshu-closure-compiler/java-asm/PKGBUILD deleted file mode 100644 index b1d817441..000000000 --- a/~lukeshu-closure-compiler/java-asm/PKGBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> - -_pkgname=asm -pkgname=java-asm -pkgver=3.3.1 -pkgrel=1 -pkgdesc="An all purpose Java bytecode manipulation and analysis framework." -arch=('any') -url="http://asm.ow2.org/" -license=('custom:BSD3') -depends=('java-runtime') -source=("http://download.forge.objectweb.org/$_pkgname/$_pkgname-$pkgver.tar.gz") - -build() { - cd "$srcdir/$_pkgname-$pkgver" - - rm examples/jasmin/test/jasmin.jar - rm cobertura.ser # This is just precompiled for convenience - - echo 'paths.configured /lts' >> build.config - echo 'test.paths.configured /lts' >> build.config - ant dist -} - -# Tests have more dependencies, and I can't be bothered to package them. -#check() { -# cd "$srcdir/$_pkgname-$pkgver" -# ant test -#} - -package() { - cd "$srcdir/$_pkgname-$pkgver" - - install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - - cd output/dist - - 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 -d "$pkgdir/usr/share/java/$_pkgname" - cp -r lib/* "$pkgdir/usr/share/java/$_pkgname" -} - -md5sums=('433024df8176f09922646316e415631c') diff --git a/~lukeshu-closure-compiler/java-jarjar/PKGBUILD b/~lukeshu-closure-compiler/java-jarjar/PKGBUILD deleted file mode 100644 index 31f374427..000000000 --- a/~lukeshu-closure-compiler/java-jarjar/PKGBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> - -_pkgname=jarjar -pkgname=java-jarjar -pkgver=1.1 -pkgrel=1 -pkgdesc="A utility that makes it easy to repackage Java libraries and embed them into your own distribution." -arch=('any') -url="https://code.google.com/p/jarjar/" -license=('Apache2') -depends=('java-runtime') -makedepends=('apache-ant' 'java-asm' 'maven') -source=("http://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}-${pkgrel}-any.src.tar.xz") - -build() { - cd "$srcdir/$pkgname" - - ln -s /usr/share/java/asm/asm-3.3.1.jar lib - ln -s /usr/share/java/asm/asm-commons-3.3.1.jar lib - ln -s /opt/maven/lib/maven-plugin-api-*.jar lib/maven-plugin-api.jar - - # Define the version - sed -i "s/snapshot/$pkgver/" build.xml - - # Fix a bug causing an incompatibility with newer versions of ant - sed -i 's/zipDir(null,/zipDir((java.io.File)null,/' \ - src/main/com/tonicsystems/jarjar/util/AntJarProcessor.java - - ant jar -} - -package() { - cd "$srcdir/$pkgname" - install -d "$pkgdir/usr/share/java/$_pkgname" - install -D "dist/$_pkgname-$pkgver.jar" "$pkgdir/usr/share/java/$_pkgname" - ln -s "$pkgname/$_pkgname-$pkgver.jar" "$pkgdir/usr/share/java/$_pkgname.jar" -} - -md5sums=('af46c24b90d009169b7f83ee1e8bbd9c') diff --git a/~lukeshu-closure-compiler/java-jarjar/SRCBUILD b/~lukeshu-closure-compiler/java-jarjar/SRCBUILD deleted file mode 100644 index b716eeb51..000000000 --- a/~lukeshu-closure-compiler/java-jarjar/SRCBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> - -_pkgname=jarjar -pkgname=java-jarjar -pkgver=1.1 -pkgrel=1 -pkgdesc="A utility that makes it easy to repackage Java libraries and embed them into your own distribution." -arch=('any') -url="https://code.google.com/p/jarjar/" -license=('Apache2') -makedepends=('subversion' 'findutils') -options=('!strip' 'docs' '!zipman' 'emptydirs') - -_svntrunk="https://jarjar.googlecode.com/svn/tags/release-$pkgver/$_pkgname" -_svnver=131 - -build() { - cd "$srcdir" - msg "Connecting to SVN server...." - - if [[ -d "$pkgname/.svn" ]]; then - (cd "$pkgname" && svn up -r "$_svnver") - else - svn co "$_svntrunk" --config-dir ./ -r "$_svnver" "$pkgname" - fi - - msg "SVN checkout done or server timeout" - - msg "Removing .svn files..." - find . -name .svn -print0 | xargs -0 rm -rf - - msg "Removing precompiled binaries..." - cd "$srcdir/$pkgname" - rm -v src/test/*.class src/test/*.jar - rm -v lib/*.jar -} - -package() { - PKGEXT=${SRCEXT} - PKGDEST=${SRCDEST} - cp -a "${srcdir}/${pkgname}" "${pkgdir}/" -} diff --git a/~lukeshu-closure-compiler/protobuf-java/PKGBUILD b/~lukeshu-closure-compiler/protobuf-java/PKGBUILD deleted file mode 100644 index 473bf3f2f..000000000 --- a/~lukeshu-closure-compiler/protobuf-java/PKGBUILD +++ /dev/null @@ -1,34 +0,0 @@ -# Maintainer: Igor R. Dejanovic igor.dejanovic@gmail.com -# Contributor: Igor R. Dejanovic igor.dejanovic@gmail.com - -pkgname=protobuf-java -_xpkgname=protobuf -pkgver=2.4.1 -pkgrel=1 -pkgdesc="Google's data interchange format utility (java API)." -url="http://code.google.com/p/protobuf/" -license=('custom:BSD') -arch=('any') -depends=("java-environment") -makedepends=('java-environment' 'maven' "${_xpkgname}>=${pkgver}") -source=(http://protobuf.googlecode.com/files/$_xpkgname-$pkgver.tar.bz2 protobuf-java.patch) -md5sums=('ed436802019c9e1f40cc750eaf78f318' - '01a3244c88fc5ddfee07c658c0bc7df4') - -build() { - - cd $srcdir/$_xpkgname-$pkgver - patch -p1 < ../protobuf-java.patch - - cd $srcdir/$_xpkgname-$pkgver/java - mvn package - -} - -package() { - install -Dm644 "$srcdir/$_xpkgname-$pkgver/java/target/$pkgname-$pkgver.jar" \ - "$pkgdir/usr/share/java/$pkgname/$pkgname-$pkgver.jar" - install -Dm644 "$srcdir/$_xpkgname-$pkgver/COPYING.txt" \ - "$pkgdir/usr/share/licenses/$pkgname/COPYING.txt" -} - diff --git a/~lukeshu-closure-compiler/protobuf-java/protobuf-java.patch b/~lukeshu-closure-compiler/protobuf-java/protobuf-java.patch deleted file mode 100644 index 1286223ed..000000000 --- a/~lukeshu-closure-compiler/protobuf-java/protobuf-java.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -aur protobuf-2.4.1/java/pom.xml protobuf-2.4.1-patched/java/pom.xml ---- protobuf-2.4.1/java/pom.xml 2011-04-30 19:23:04.000000000 +0200 -+++ protobuf-2.4.1-patched/java/pom.xml 2011-05-09 17:58:09.000000000 +0200 -@@ -78,7 +78,7 @@ - <configuration> - <tasks> - <mkdir dir="target/generated-sources" /> -- <exec executable="../src/protoc"> -+ <exec executable="protoc"> - <arg value="--java_out=target/generated-sources" /> - <arg value="--proto_path=../src" /> - <arg value="../src/google/protobuf/descriptor.proto" /> -@@ -96,7 +96,7 @@ - <configuration> - <tasks> - <mkdir dir="target/generated-test-sources" /> -- <exec executable="../src/protoc"> -+ <exec executable="protoc"> - <arg value="--java_out=target/generated-test-sources" /> - <arg value="--proto_path=../src" /> - <arg value="--proto_path=src/test/java" /> |