aboutsummaryrefslogtreecommitdiffstats
path: root/jlibgamma/PKGBUILD
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-07-21 12:59:04 +0200
committerMattias Andrée <maandree@kth.se>2022-07-21 12:59:04 +0200
commita5d319824fae54978dd99ee3ef89b5a82fd11e31 (patch)
tree3aa2d2733ab94e8cc28e443e1a5f055b3ba69229 /jlibgamma/PKGBUILD
parentUpdate libterminput (diff)
downloadaur-packages-a5d319824fae54978dd99ee3ef89b5a82fd11e31.tar.gz
aur-packages-a5d319824fae54978dd99ee3ef89b5a82fd11e31.tar.bz2
aur-packages-a5d319824fae54978dd99ee3ef89b5a82fd11e31.tar.xz
Add jlibgamma
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'jlibgamma/PKGBUILD')
-rw-r--r--jlibgamma/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/jlibgamma/PKGBUILD b/jlibgamma/PKGBUILD
new file mode 100644
index 0000000..a1363b8
--- /dev/null
+++ b/jlibgamma/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se>
+
+pkgname=jlibgamma
+pkgver=1.0.2
+pkgrel=1
+pkgdesc="Display server abstraction layer for gamma ramps and Java"
+arch=(i686 x86_64)
+url="https://codeberg.org/maandree/jlibgamma"
+license=('custom:ISC')
+depends=('java-runtime-headless>=1.5' 'libgamma>=0.3' glibc)
+makedepends=('java-environment>=1.5' 'libgamma>=0.3' glibc gcc make coreutils sed)
+source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
+sha256sums=(7cd2d93b08db6f3c3bc62f0a684952783dbafc7fc16c5f1cf2be7d09c48fb564)
+
+
+build() {
+ cd "$srcdir/$pkgname"
+ make PREFIX=/usr JAVA_HOME=/usr/lib/jvm/default
+}
+
+
+package() {
+ cd "$srcdir/$pkgname"
+ make PREFIX=/usr JAVA_HOME=/usr/lib/jvm/default install DESTDIR="$pkgdir"
+}