[arch-commits] Commit in junit/repos/extra-any (Manifest.txt PKGBUILD PKGBUILD)
Guillaume Alaux
guillaume at nymeria.archlinux.org
Wed Mar 13 21:31:47 UTC 2013
Date: Wednesday, March 13, 2013 @ 22:31:46
Author: guillaume
Revision: 179989
archrelease: copy trunk to extra-any
Added:
junit/repos/extra-any/Manifest.txt
(from rev 179988, junit/trunk/Manifest.txt)
junit/repos/extra-any/PKGBUILD
(from rev 179988, junit/trunk/PKGBUILD)
Deleted:
junit/repos/extra-any/PKGBUILD
--------------+
Manifest.txt | 1
PKGBUILD | 75 ++++++++++++++++++++++++++++++---------------------------
2 files changed, 41 insertions(+), 35 deletions(-)
Copied: junit/repos/extra-any/Manifest.txt (from rev 179988, junit/trunk/Manifest.txt)
===================================================================
--- Manifest.txt (rev 0)
+++ Manifest.txt 2013-03-13 21:31:46 UTC (rev 179989)
@@ -0,0 +1 @@
+Class-Path: hamcrest-core.jar
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2013-03-13 21:30:57 UTC (rev 179988)
+++ PKGBUILD 2013-03-13 21:31:46 UTC (rev 179989)
@@ -1,35 +0,0 @@
-# Maintainer: Guillaume ALAUX <guillaume at archlinux.org>
-pkgname=junit
-pkgver=4.11
-pkgrel=2
-pkgdesc='Automated testing framework for Java'
-arch=('any')
-url='http://junit.sourceforge.net/'
-license=('CPL')
-depends=('java-runtime-headless' 'java-hamcrest')
-makedepends=('git' 'apache-ant')
-
-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=''
-}
-
-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 179988, junit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-03-13 21:31:46 UTC (rev 179989)
@@ -0,0 +1,40 @@
+# Maintainer: Guillaume ALAUX <guillaume at archlinux.org>
+pkgname=junit
+pkgver=4.11
+pkgrel=3
+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
+}
More information about the arch-commits
mailing list