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

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

26 linii Raw ← Powrót
1234567891011121314151617181920212223242526
pkgname: xorg-xbacklight
pkgver: '1.2.4'
pkgrel: '1'
pkgdesc: RandR-based backlight control application.
url: 'https://xorg.freedesktop.org'
arch: x86_64
depends: []
makedepends:
- xcb-util
source:
- 'https://ftp.x.org/pub/individual/app/xbacklight-${pkgver}.tar.xz'
sha256sums:
- d4c30b0e6f18c82f387585a737ee3b72d468c927892b08a898c41bc12248e8ee
build: |
  cd ${pkgname/xorg-/}-1.2.4
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static
  make
package: |
  cd ${pkgname/xorg-/}-1.2.4
  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/xbacklight-"|sed "s@$ext\$@@"|sed "s@$url/xbacklight-@@"|head -1