blob: bc12549b26530f83b6f8ea530f4ec3a07a4a02f0 (
plain) (
tree)
|
|
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
pkgname=libgamma
pkgver=0.2
pkgrel=2
pkgdesc="Display server abstraction layer for gamma ramps"
arch=(i686 x86_64)
url="https://github.com/maandree/libgamma"
license=('GPL3' 'custom:GFDL1.3')
depends=(glibc libxcb libx11 libxxf86vm libdrm)
makedepends=(glibc libxcb libx11 libxxf86vm libdrm sh make grep sed coreutils gcc general-preprocessor python3 texinfo bash pkg-config)
install=libgamma.install
source=($url/archive/$pkgver.tar.gz)
sha256sums=(ef171360e4a945b607ef3fa1830630088bad162e47ea83ff990cae83c5331529)
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --linux
LDFLAGS=${LDFLAGS/--as-needed/}
LDFLAGS=${LDFLAGS/,,/,}
export LDFLAGS
make PREFIX=/usr lib info
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make PREFIX=/usr install-base install-info DESTDIR="$pkgdir"
}
|