summaryrefslogblamecommitdiffstats
path: root/dist/archlinux/stable/PKGBUILD
blob: 5ad48fcc3d41e44b0b449690883359ee8fbbd2c9 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                                        
          
        


                                                                       
                                         
                                                           

                                                                               
                                                                                                                  
                         
                                    
                                                                             



                               


                                 
                                         




                               
                                                                   

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

pkgname=blueshift
pkgver=1.9
pkgrel=1
pkgdesc="An extensible and highly configurable alternative to redshift"
arch=(i686 x86_64)
url="https://github.com/maandree/blueshift"
license=('AGPL3' 'GPL3' 'custom:GFDL1.3')
depends=(python3 argparser libxcb libxxf86vm libx11 libdrm)
optdepends=('adjbacklight: for backlight adjustments without root requirements'
            'linux: for backlight support')
makedepends=(cython gcc python3 libxcb libxxf86vm libx11 libdrm make coreutils sed zip texinfo auto-auto-complete)
install=blueshift.install
source=($url/archive/$pkgver.tar.gz)
sha256sums=(43499e5549ce26c5145a9a8f6bc0302d83d875d38fcea34a063e2c6b5545d65e)


build() {
  cd "$srcdir/$pkgname-$pkgver"
  LDFLAGS=${LDFLAGS/--as-needed/}
  LDFLAGS=${LDFLAGS/,,/,}
  export LDFLAGS
  make PREFIX=/usr LIBEXEC=/lib/blueshift
}


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