PKGBUILD 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # Maintainer (arch): Lukas Fleischer <lfleischer@archlinux.org>
  2. # Contributor: Geoffrey Teale <tealeg@stop-squark>
  3. # Contributor: Mark, Huo Mian <markhuomian[at]gmail[dot]com>
  4. # Contributor: Biginoz <biginoz a free dot fr>
  5. # Contributor: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
  6. # Maintainer: André Silva <emulatorman@hyperbola.info>
  7. pkgname=redshift
  8. pkgver=1.12
  9. pkgrel=2.nonprism1
  10. pkgdesc='Adjusts the color temperature of your screen according to your surroundings, without geoclue2 support'
  11. arch=('i686' 'x86_64' 'armv7h')
  12. url='http://jonls.dk/redshift/'
  13. license=('GPL3')
  14. depends=('libdrm' 'libxcb' 'libxxf86vm')
  15. optdepends=('python-gobject: for redshift-gtk'
  16. 'python-xdg: for redshift-gtk'
  17. 'gtk3: for redshift-gtk')
  18. makedepends=('intltool' 'python')
  19. source=("https://github.com/jonls/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz")
  20. sha256sums=('d2f8c5300e3ce2a84fe6584d2f1483aa9eadc668ab1951b2c2b8a03ece3a22ba')
  21. build() {
  22. cd "${srcdir}/${pkgname}-${pkgver}"
  23. ./configure --prefix=/usr --enable-drm --enable-randr --enable-vidmode \
  24. --with-systemduserunitdir=/usr/lib/systemd/user
  25. make
  26. }
  27. package() {
  28. cd "${srcdir}/${pkgname}-${pkgver}"
  29. make DESTDIR="${pkgdir}" install
  30. }