diff options
Diffstat (limited to '~lukeshu-closure-compiler/java-jarjar/PKGBUILD')
-rw-r--r-- | ~lukeshu-closure-compiler/java-jarjar/PKGBUILD | 39 |
1 files changed, 0 insertions, 39 deletions
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') |