summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvilMav2015-06-27 19:23:07 +0200
committerEvilMav2015-06-27 19:29:48 +0200
commitfce74842f0837bf751781b538e8f57ad39ce277e (patch)
treed943fa4f7e239419f5364fea9f61e733322b2ddf
downloadaur-pcng-tubs.tar.gz
aur3 migration
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD42
-rw-r--r--pcng-tubs2
-rw-r--r--pcng-tubs.desktop10
-rw-r--r--pcng-tubs.pngbin0 -> 4549 bytes
5 files changed, 77 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..1784b091d62a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = pcng-tubs
+ pkgdesc = TU Braunschweig printing client (Papercut NG, preconfigured)
+ pkgver = 14.0
+ pkgrel = 1
+ url = https://doku.rz.tu-bs.de/doku.php?id=drucken:installation_druck-client_linux_eb_mb
+ arch = any
+ license = custom
+ makedepends = unzip
+ depends = java-environment
+ depends = sh
+ optdepends = cups: printing support
+ noextract = GITZ_drucken_linux.zip
+ source = http://gitz-dl.tu-bs.de/software/pcng/GITZ_drucken_linux.zip
+ source = pcng-tubs.desktop
+ source = pcng-tubs.png
+ source = pcng-tubs
+ md5sums = 5ce4d1baf9499531e3eb0cec9d61c94d
+ md5sums = 9a1945d32cede42e3464dabce8796c75
+ md5sums = d7d02bbc52bf60dd8456a8d7354160c0
+ md5sums = 5adbdafb5cb2dbf5b903a42ec508bd2c
+
+pkgname = pcng-tubs
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..1a0607e0d394
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Maverick <basic89@gmail.com>
+pkgname=pcng-tubs
+pkgver=14.0
+pkgrel=1
+pkgdesc="TU Braunschweig printing client (Papercut NG, preconfigured)"
+arch=(any)
+url="https://doku.rz.tu-bs.de/doku.php?id=drucken:installation_druck-client_linux_eb_mb"
+license=('custom')
+groups=()
+depends=('java-environment'
+ 'sh')
+makedepends=('unzip')
+optdepends=('cups: printing support')
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+changelog=
+source=('http://gitz-dl.tu-bs.de/software/pcng/GITZ_drucken_linux.zip'
+ 'pcng-tubs.desktop'
+ 'pcng-tubs.png'
+ 'pcng-tubs')
+noextract=('GITZ_drucken_linux.zip')
+md5sums=('5ce4d1baf9499531e3eb0cec9d61c94d'
+ '9a1945d32cede42e3464dabce8796c75'
+ 'd7d02bbc52bf60dd8456a8d7354160c0'
+ '5adbdafb5cb2dbf5b903a42ec508bd2c')
+
+build() {
+ cd "$srcdir"
+ unzip -o GITZ_drucken_linux.zip
+}
+
+package() {
+ mkdir -p "$pkgdir/opt/pcng"
+ cp -Rp linux/* "$pkgdir/opt/pcng/"
+ install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
+ install -Dm644 "$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
+ install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
+}
diff --git a/pcng-tubs b/pcng-tubs
new file mode 100644
index 000000000000..d36cd027df95
--- /dev/null
+++ b/pcng-tubs
@@ -0,0 +1,2 @@
+#!/bin/sh
+/opt/pcng/pc-client-linux.sh "$@"
diff --git a/pcng-tubs.desktop b/pcng-tubs.desktop
new file mode 100644
index 000000000000..cf39e1d7f2f2
--- /dev/null
+++ b/pcng-tubs.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Type=Application
+Name=Papercut NG (TUBS)
+Comment=TU Braunschweig printing client
+Exec=pcng-tubs
+Icon=pcng-tubs
+Terminal=false
+StartupNotify=false
+Categories=Office;
diff --git a/pcng-tubs.png b/pcng-tubs.png
new file mode 100644
index 000000000000..5f597d4234b0
--- /dev/null
+++ b/pcng-tubs.png
Binary files differ