summaryrefslogblamecommitdiffstats
path: root/dist/archlinux/stable/PKGBUILD
blob: 210d3c92f2bc5641eb1c4093925dd745a90725df (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.7
pkgrel=1
pkgdesc="An extensible and highly configurable alternative to redshift"
arch=(i686 x86_64)
url="https://github.com/maandree/blueshift"
license=('AGPL3')
depends=(python3 argparser libxcb libxxf86vm libx11)
makedepends=(cython gcc python3 libxcb libxxf86vm libx11 make coreutils sed zip texinfo auto-auto-complete)
install=blueshift.install
source=($url/archive/$pkgver.tar.gz)
sha256sums=('d6930a0c4c980d3c9f2f6ba081edd4e59158d750090383eb463e6c3d78474def')


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