[arch-commits] Commit in junit/repos/extra-any (Manifest.txt PKGBUILD PKGBUILD)
Guillaume Alaux
guillaume at archlinux.org
Sun Mar 1 15:28:50 UTC 2015
Date: Sunday, March 1, 2015 @ 16:28:50
Author: guillaume
Revision: 232360
archrelease: copy trunk to extra-any
Added:
junit/repos/extra-any/PKGBUILD
(from rev 232359, junit/trunk/PKGBUILD)
Deleted:
junit/repos/extra-any/Manifest.txt
junit/repos/extra-any/PKGBUILD
--------------+
Manifest.txt | 1 -
PKGBUILD | 56 ++++++++++++++++----------------------------------------
2 files changed, 16 insertions(+), 41 deletions(-)
Deleted: Manifest.txt
===================================================================
--- Manifest.txt 2015-03-01 15:28:19 UTC (rev 232359)
+++ Manifest.txt 2015-03-01 15:28:50 UTC (rev 232360)
@@ -1 +0,0 @@
-Class-Path: hamcrest-core.jar
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-03-01 15:28:19 UTC (rev 232359)
+++ PKGBUILD 2015-03-01 15:28:50 UTC (rev 232360)
@@ -1,40 +0,0 @@
-# Maintainer: Guillaume ALAUX <guillaume at archlinux.org>
-pkgname=junit
-pkgver=4.11
-pkgrel=4
-pkgdesc='Automated testing framework for Java'
-arch=('any')
-url='http://junit.sourceforge.net/'
-license=('CPL')
-depends=('java-environment' 'java-hamcrest')
-makedepends=('git' 'apache-ant')
-source=(Manifest.txt)
-sha256sums=('2b17a21ab3167302df8c41c3fec63e214b0405a760bc2b3e052be7341171fb1f')
-
-build() {
- cd ${srcdir}
-
- # No source tarball available: https://github.com/junit-team/junit/blob/r4.11/BUILDING
- # So building from specific github tag: https://github.com/junit-team/junit/tags
- git clone https://github.com/junit-team/${pkgname}.git
- cd junit
- git checkout r${pkgver}
-
- ant dist -Dversion-status=''
-
- # FS#34273
- jar ufm ${pkgname}${pkgver}/${pkgname}-dep-${pkgver}.jar ${srcdir}/Manifest.txt
-}
-
-check() {
- cd ${srcdir}/${pkgname}
-
- ant test
-}
-
-package() {
- install -Dm644 ${srcdir}/${pkgname}/${pkgname}${pkgver}/${pkgname}-dep-${pkgver}.jar \
- ${pkgdir}/usr/share/java/${pkgname}-${pkgver}.jar
- ln -s ${pkgname}-${pkgver}.jar \
- ${pkgdir}/usr/share/java/${pkgname}.jar
-}
Copied: junit/repos/extra-any/PKGBUILD (from rev 232359, junit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-03-01 15:28:50 UTC (rev 232360)
@@ -0,0 +1,16 @@
+# Maintainer: Guillaume ALAUX <guillaume at archlinux.org>
+pkgname=junit
+pkgver=4.12
+pkgrel=1
+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)
+sha256sums=('59721f0805e223d84b90677887d9ff567dc534d7c502ca903c0c2b17f05c116a')
+
+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
+}
More information about the arch-commits
mailing list