aboutsummaryrefslogblamecommitdiffstats
path: root/dist/archlinux/stable/PKGBUILD
blob: 88b1a2c11f06cd83a3ee4f95f853019c13b4ba92 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                                        
            
        




                                                          
                                                                                                                                       

                                    
                                                                             













                                                              
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>

pkgname=libgamma
pkgver=0.7.1
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=(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=(af29919ad049cef0261e4f1085aed8e778461162a589c117f199b0e29c41a906)


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"
}