summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPhilipp A2017-07-14 20:57:42 +0200
committerPhilipp A2017-07-14 20:57:42 +0200
commitbf4a990771ce521aca1a3f1f4e076aa66a35fee0 (patch)
tree00d0cf8f1e6f38583e530bbc552c291ca66574d4 /PKGBUILD
downloadaur-assertj-core.tar.gz
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..51017b3af60
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+pkgname=assertj-core
+pkgver=3.8.0
+pkgrel=1
+pkgdesc='Fluent assertions for java'
+url='http://joel-costigliola.github.io/assertj'
+arch=(any)
+license=(Apache)
+makedepends=(maven)
+source=("https://github.com/joel-costigliola/$pkgname/archive/$pkgname-$pkgver.tar.gz")
+md5sums=('54199fa881a9b757cc0cf2c05dc81aa7')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgname-$pkgver"
+ mvn package -Djacoco.skip=true
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgname-$pkgver"
+ install -Dm644 "target/$pkgname-$pkgver.jar" "$pkgdir/usr/share/java/$pkgname-$pkgver.jar"
+ ln -s "$pkgdir/usr/share/java/$pkgname"{-$pkgver,}.jar
+}