aboutsummaryrefslogtreecommitdiffstats
path: root/dist/archlinux/stable/PKGBUILD
blob: 320025cafb4bed4208c901e0c0e906938c2e32a2 (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
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>

pkgname=libgamma
pkgver=0.7.2
pkgrel=1
pkgdesc="Display server abstraction layer for gamma ramps"
arch=(i686 x86_64)
url="https://github.com/maandree/libgamma"
license=('GPL3' 'custom:GFDL1.3')
depends=(libxcb libx11 libxxf86vm libdrm wayland)
makedepends=(libxcb libx11 libxxf86vm libdrm wayland general-preprocessor python3)
install=libgamma.install
source=($url/archive/$pkgver.tar.gz)
sha256sums=(a29ddbd96eff868d5c61e793642813a6a4f6cfe358654227502bb91e95cb75db)


build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --linux
  make PREFIX=/usr lib info
}


package() {
  cd "$srcdir/$pkgname-$pkgver"
  make PREFIX=/usr install-base install-info DESTDIR="$pkgdir"
}