summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD18
2 files changed, 31 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b6030fcbaa6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = tn5250j-plugin-log4j
+ pkgdesc = Support for logging in tn5250j
+ pkgver = 1.2.15
+ pkgrel = 1
+ url = http://logging.apache.org/log4j
+ arch = any
+ license = GPL
+ depends = tn5250j
+ source = https://archive.apache.org/dist/logging/log4j/1.2.15/apache-log4j-1.2.15.tar.gz
+ md5sums = 10f04abe4d68d5a89e8eb167e4e45e1a
+
+pkgname = tn5250j-plugin-log4j
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..64666bf6c85
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,18 @@
+# Maintainer: Muflone <muflone@vbsimple.net>
+pkgname=tn5250j-plugin-log4j
+pkgver=1.2.15
+pkgrel=1
+pkgdesc="Support for logging in tn5250j"
+arch=(any)
+url="http://logging.apache.org/log4j"
+license=('GPL')
+depends=(tn5250j)
+source=("https://archive.apache.org/dist/logging/log4j/${pkgver}/apache-log4j-${pkgver}.tar.gz")
+md5sums=('10f04abe4d68d5a89e8eb167e4e45e1a')
+
+package() {
+ # Install files for the package
+ install -d "$pkgdir/usr/share/java/tn5250j"
+ install -m 644 "$srcdir/apache-log4j-${pkgver}/log4j-${pkgver}.jar" "$pkgdir/usr/share/java/tn5250j/log4j-${pkgver}.jar"
+}
+