summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-rw-r--r--java/junit/PKGBUILD14
1 files changed, 4 insertions, 10 deletions
diff --git a/java/junit/PKGBUILD b/java/junit/PKGBUILD
index 5e466a029..04dbcb2ac 100644
--- a/java/junit/PKGBUILD
+++ b/java/junit/PKGBUILD
@@ -7,24 +7,18 @@ pkgdesc="Automated testing framework for Java"
url="http://www.junit.org/"
license=('CPL')
-pkgrel=3.1
+pkgrel=3.2
arch=('any')
depends=('java-runtime' 'java-hamcrest')
makedepends=('apache-ant' 'jakarta-oro' 'jh')
source=("libre://$pkgname-$pkgver.tar.gz")
-md5sums=('47c8879e05effb2ab98461c43243cc65')
+md5sums=('cdaa9856761201de81a61aecb8cfcc9c')
-mksource=("$pkgname::git://github.com/junit-team/junit.git#tag=r$pkgver")
+mksource=("$pkgname-$pkgver::git://github.com/junit-team/junit.git#tag=r$pkgver")
mkmd5sums=('SKIP')
mksource() {
- cd "${srcdir}"p
- if [[ -d $pkgname ]]; then
- rm -rf "$pkgname"-*
- mv "$pkgname" "$pkgname-$pkgver"
- fi
-
- cd "${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-${pkgver}"
find . -name '*.jar' -delete
}