diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-12-25 22:21:06 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-12-25 22:21:06 -0500 |
commit | 5117cfabb1e4e4156a56694cf07cb60f02d897dc (patch) | |
tree | 5b1cee709ccafb449478b4ba0590ccbda003332c | |
parent | c664c3a438546ef9f4427ddb49b50b5115412159 (diff) | |
download | abslibre-5117cfabb1e4e4156a56694cf07cb60f02d897dc.tar.gz abslibre-5117cfabb1e4e4156a56694cf07cb60f02d897dc.tar.bz2 abslibre-5117cfabb1e4e4156a56694cf07cb60f02d897dc.zip |
simplify/fix java/junit
-rw-r--r-- | java/junit/PKGBUILD | 14 |
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 } |