X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 9CAF2DC06C1 for ; Mon, 11 May 2015 11:07:30 +0000 (UTC) Received: from apollo.thewebhostserver.com (apollomail.thewebhostserver.com [46.23.65.248]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 54565DC03A4 for ; Mon, 11 May 2015 11:07:24 +0000 (UTC) Received: from [81.4.121.188] (port=54733 helo=localhost.localdomain) by apollo.thewebhostserver.com with esmtpsa (TLSv1.2:AES128-SHA256:128) (Exim 4.85) (envelope-from ) id 1YrlYQ-000xPo-15; Mon, 11 May 2015 12:07:22 +0100 From: Stuart Cardall To: alpine-aports@lists.alpinelinux.org Cc: Stuart Cardall Subject: [alpine-aports] [PATCH 3/3] testing/junit: new aport Date: Mon, 11 May 2015 11:07:10 +0000 Message-Id: <1431342430-7535-3-git-send-email-developer@it-offshore.co.uk> X-Mailer: git-send-email 2.4.0 In-Reply-To: <1431342430-7535-1-git-send-email-developer@it-offshore.co.uk> References: <1431342430-7535-1-git-send-email-developer@it-offshore.co.uk> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - apollo.thewebhostserver.com X-AntiAbuse: Original Domain - lists.alpinelinux.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - it-offshore.co.uk X-Get-Message-Sender-Via: apollo.thewebhostserver.com: authenticated_id: developer@it-offshore.co.uk X-Source: X-Source-Args: X-Source-Dir: X-From-Rewrite: unmodified, already matched X-Virus-Scanned: ClamAV using ClamSMTP X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: & this will be for running unit tests with maven. --- testing/junit/APKBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 testing/junit/APKBUILD diff --git a/testing/junit/APKBUILD b/testing/junit/APKBUILD new file mode 100644 index 0000000..444e431 --- /dev/null +++ b/testing/junit/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Stuart Cardall +# Maintainer: Stuart Cardall +pkgname=junit +pkgver=4.12 +pkgrel=0 +pkgdesc="A programmer-oriented testing framework for Java" +url="http://junit.org/" +arch="noarch" +license="Eclipse 1.0" +depends="" +source="http://search.maven.org/remotecontent?filepath=$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.jar" + +_builddir="$srcdir" + +build() { + cd "$_builddir" + echo "packaging the $pkgname jar file" +} + +package() { + cd "$_builddir" + install -dm755 ${pkgdir}/usr/share/java || return 1 + install -m644 "$pkgname-$pkgver.jar" ${pkgdir}/usr/share/java || return 1 + cd ${pkgdir}/usr/share/java || return 1 + ln -s "$pkgname-$pkgver.jar" "$pkgname.jar" +} + +md5sums="5b38c40c97fbd0adee29f91e60405584 junit-4.12.jar" +sha256sums="59721f0805e223d84b90677887d9ff567dc534d7c502ca903c0c2b17f05c116a junit-4.12.jar" +sha512sums="5974670c3d178a12da5929ba5dd9b4f5ff461bdc1b92618c2c36d53e88650df7adbf3c1684017bb082b477cb8f40f15dcf7526f06f06183f93118ba9ebeaccce junit-4.12.jar" -- 2.4.0 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---