summaryrefslogtreecommitdiff
path: root/repo/junit/junit.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/junit/junit.xibuild')
-rw-r--r--repo/junit/junit.xibuild18
1 files changed, 18 insertions, 0 deletions
diff --git a/repo/junit/junit.xibuild b/repo/junit/junit.xibuild
new file mode 100644
index 0000000..1e7bcf4
--- /dev/null
+++ b/repo/junit/junit.xibuild
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+NAME="junit"
+DESC="A programmer-oriented testing framework for Java"
+
+MAKEDEPS=""
+
+PKG_VER=4.13.2
+SOURCE="https://search.maven.org/remotecontent?filepath=junit/junit/$PKG_VER/junit-$PKG_VER.jar"
+
+package() {
+ local _javadir=/usr/share/java
+ install -dm755 "$PKG_DEST"$_javadir
+ install -m644 "$BUILD_ROOT"/junit-$PKG_VER.jar "$PKG_DEST"$_javadir
+ cd "$PKG_DEST"$_javadir
+ ln -s junit-$PKG_VER.jar junit.jar
+}
+