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

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

30 linii Raw ← Powrót
123456789101112131415161718192021222324252627282930
pkgname: xorg-libxrandr
pkgver: '1.5.5'
pkgrel: '1'
pkgdesc: X11 RandR, resize and rotate extension client library
url: 'https://xorg.freedesktop.org'
arch: x86_64
depends: []
makedepends:
- xorgproto
- xorg-libx11
- xorg-libxext
- xorg-libxrender
source:
- 'https://xorg.freedesktop.org/releases/individual/lib/libXrandr-${pkgver}.tar.xz'
sha256sums:
- 72b922c2e765434e9e9f0960148070bd4504b288263e2868a4ccce1b7cf2767a
build: |
  cd libXrandr-1.5.5
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static
  make
  make DESTDIR="${PKGDIR}" install
package: |
  rm -f ${PKGDIR}/usr/lib/libXrandr.la
update: |
  local ext url name LINX
  LYNX="lynx -read_timeout=20 -dump -listonly -nonumbers "
  ext=".tar.bz2"
  url="https://ftp.x.org/archive//individual//lib"
  name="libXrandr-"
  $LYNX $url/?C=M\;O=D|grep "$ext$"|grep "$url/${pkgname}"|sed "s@$ext\$@@"|sed "s@$url/${pkgname}@@"|head -1