diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-09-05 20:57:31 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-09-05 20:57:31 +0200 |
commit | cffc539fa4d10256d6b60bfa233be5f8aa686217 (patch) | |
tree | a103372e0a65ba787cb8a8b6db6bdbc9a65121fc /dist/archlinux/stable | |
parent | typo (diff) | |
download | jlibgamma-cffc539fa4d10256d6b60bfa233be5f8aa686217.tar.gz jlibgamma-cffc539fa4d10256d6b60bfa233be5f8aa686217.tar.bz2 jlibgamma-cffc539fa4d10256d6b60bfa233be5f8aa686217.tar.xz |
dist
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | dist/archlinux/stable/.gitignore | 6 | ||||
-rw-r--r-- | dist/archlinux/stable/PKGBUILD | 29 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dist/archlinux/stable/.gitignore b/dist/archlinux/stable/.gitignore new file mode 100644 index 0000000..17b52ab --- /dev/null +++ b/dist/archlinux/stable/.gitignore @@ -0,0 +1,6 @@ +* +!/.git* +*~ +!/PKGBUILD +!/jlibgamma.install + diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD new file mode 100644 index 0000000..b6368c1 --- /dev/null +++ b/dist/archlinux/stable/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> + +pkgname=jlibgamma +pkgver=1.0 +pkgrel=1 +pkgdesc="Display server abstraction layer for gamma ramps and Java" +arch=(i686 x86_64) +url="https://github.com/maandree/jlibgamma" +license=('GPL3') +depends=('java-runtime>=1.5' 'libgamma>=0.3' glibc) +makedepends=('java-runtime>=1.5' 'libgamma>=0.3' glibc gcc make coreutils sed) +source=($url/archive/$pkgver.tar.gz) +sha256sums=(7dd700934883b8372d1f881de3f58b2a50bdc1f1c0e37827289fa10c01332cac) + + +build() { + cd "$srcdir/$pkgname-$pkgver" + LDFLAGS=${LDFLAGS/--as-needed/} + LDFLAGS=${LDFLAGS/,,/,} + export LDFLAGS + make PREFIX=/usr +} + + +package() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr install DESTDIR="$pkgdir" +} + |