aboutsummaryrefslogtreecommitdiffstats
path: root/dist/archlinux/stable/PKGBUILD
blob: 6b1b11813a0e8cda481bc76a6e8d4cfb91c990d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>

pkgname=jlibgamma
pkgver=1.0
pkgrel=2
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-headless>=1.5' 'libgamma>=0.3' glibc)
makedepends=('java-environment>=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"
}