🔒 Repository is read-only – file editing is disabled.

recipes/gui/xorg-xgamma/PAGBUILD.yaml main

33 linii Raw ← Powrót
123456789101112131415161718192021222324252627282930313233
pkgname: 'xorg-xgamma'
pkgver: '1.0.8'
pkgrel: '1'
pkgdesc: 'Alter a monitor''s gamma correction.'
url: 'https://xorg.freedesktop.org'
arch: x86_64
depends: []
makedepends:
- xorgproto
- 'xorg-libx11'
- 'xorg-libxxf86vm'

source:
- 'https://ftp.x.org/pub/individual/app/xgamma-${pkgver}.tar.xz'

sha256sums:
- SKIP

build: |
  cd ${pkgname/xorg-/}-1.0.8
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static
  make

package: |
  cd ${pkgname/xorg-/}-1.0.8
  make DESTDIR="${PKGDIR}" install

update: |
  local ext url name LINX
  LYNX="lynx -read_timeout=20 -dump -listonly -nonumbers "
  ext=".tar.bz2"
  url="https://ftp.x.org/archive//individual//app"
  $LYNX $url/?C=M\;O=D|grep "$ext$"|grep "$url/xgamma-"|sed "s@$ext\$@@"|sed "s@$url/xgamma-@@"|head -1