diff options
Diffstat (limited to 'abs/extra/junit')
-rw-r--r-- | abs/extra/junit/PKGBUILD | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/abs/extra/junit/PKGBUILD b/abs/extra/junit/PKGBUILD new file mode 100644 index 0000000..1c846da --- /dev/null +++ b/abs/extra/junit/PKGBUILD @@ -0,0 +1,16 @@ +# Maintainer: Guillaume ALAUX <guillaume@archlinux.org> +pkgname=junit +pkgver=4.12 +pkgrel=2 +pkgdesc='Simple JVM framework to write repeatable tests' +arch=('any') +url='http://junit.org/' +license=('EPL') +depends=('java-environment' 'java-hamcrest') +source=(http://search.maven.org/remotecontent?filepath=${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.jar) +sha512sums=('5974670c3d178a12da5929ba5dd9b4f5ff461bdc1b92618c2c36d53e88650df7adbf3c1684017bb082b477cb8f40f15dcf7526f06f06183f93118ba9ebeaccce') + +package() { + install -D -m 644 ${srcdir}/${pkgname}-${pkgver}.jar ${pkgdir}/usr/share/java/${pkgname}-${pkgver}.jar + ln -s ${pkgname}-${pkgver}.jar ${pkgdir}/usr/share/java/${pkgname}.jar +} |