aboutsummaryrefslogtreecommitdiffstats
path: root/libgamma/PKGBUILD
blob: c6e978e648272d203e51867ba61738efc4010892 (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
30
31
# Maintainer: Mattias Andrée <`base64 -d`(bWF0dGlhcy5hbmRyZWU)@protonmail.com>

pkgname=libgamma
pkgver=0.7.4
pkgrel=2
pkgdesc="Display server abstraction layer for gamma ramps"
arch=(i686 x86_64)
url="https://codeberg.org/maandree/libgamma"
license=('custom:ISC')
depends=(libxcb libx11 libxxf86vm libdrm)
makedepends=(libxcb libx11 libxxf86vm libdrm pkg-config)
source=(libgamma-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
sha256sums=(6c15eab2c2d4651cd590d85df3dcbd9657c634c78a7c80aad5f9a9d2561e963a)


prepare () {
  cd "$srcdir/libgamma"
  printf '%s\n' 'CC = cc' >> config.mk
}

build() {
  cd "$srcdir/libgamma"
  make CONFIGFILE=config.mk PREFIX=/usr
}


package() {
  cd "$srcdir/libgamma"
  make CONFIGFILE=config.mk PREFIX=/usr DESTDIR="$pkgdir" install
}