diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2018-06-06 19:39:45 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2018-06-06 19:39:45 -0500 |
commit | 86b348f9020457d4e73b4410e1e603279454c920 (patch) | |
tree | 519d0deedfcd668e4fae1311a586b747d204249b /pcr | |
parent | 1be097ef71efdd5f4077de9bacbeb094d96262b6 (diff) | |
download | abslibre-86b348f9020457d4e73b4410e1e603279454c920.tar.gz abslibre-86b348f9020457d4e73b4410e1e603279454c920.tar.bz2 abslibre-86b348f9020457d4e73b4410e1e603279454c920.zip |
Removing args4j
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/args4j/PKGBUILD | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/pcr/args4j/PKGBUILD b/pcr/args4j/PKGBUILD deleted file mode 100644 index 35e9a9601..000000000 --- a/pcr/args4j/PKGBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> - -pkgname=args4j -pkgver=2.33 -pkgrel=1.1 -pkgdesc="Java command line options parser" -arch=('any') -url='http://args4j.kohsuke.org/' -license=('MIT') -depends=('java-runtime') -makedepends=('java-environment' 'jh') -source=("https://github.com/kohsuke/$pkgname/archive/$pkgname-site-$pkgver.tar.gz") -sha256sums=('b4305ca1ff31d3492dd93770f302242c2bf536b440bca24b2580646b184a3733') - -prepare() { - cd "$srcdir/$pkgname-$pkgname-site-$pkgver/$pkgname" - mkdir -p build/classes -} - -build() { - cd "$srcdir/$pkgname-$pkgname-site-$pkgver/$pkgname" - - javac -d build/classes $(find src -name \*.java) - javadoc -d build/javadoc -sourcepath src -subpackages org - - jar -cvf "$pkgname.jar" -C build/classes . -} - -package() { - cd "$srcdir/$pkgname-$pkgname-site-$pkgver/$pkgname" - - # Install license file - install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt" - - # Install documentation - install -d "$pkgdir/usr/share/doc/$pkgname" - cp -r build/javadoc "$pkgdir/usr/share/doc/$pkgname" - - # Install Maven artifacts - export DESTDIR=$pkgdir - jh mvn-install $pkgname $pkgname $pkgver \ - pom.xml "$pkgname.jar" "$pkgname.jar" - - ln -s "/usr/share/java/$pkgname.jar" \ - "$pkgdir/usr/share/java/$pkgname-$pkgver.jar" -} |