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

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

33 linii Raw ← Powrót
123456789101112131415161718192021222324252627282930313233
pkgname: xorg-libx11
pkgver: '1.8.13'
pkgrel: '1'
pkgdesc: libx11, library for client X
url: 'https://gitlab.freedesktop.org/xorg/lib/libx11'
arch: x86_64
depends: []
makedepends:
- pkgconf
- xorgproto
- libxcb
- xorg-xtrans
source:
- 'https://xorg.freedesktop.org/releases/individual/lib/libX11-${pkgver}.tar.xz'
sha256sums:
- 69606f485c2c07c14ef64f75b7bb326d48587af33795d9ab3e607c0b5f94f11c
build: |
  cd libX11-${pkgver}
  ./configure --prefix=/usr \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --disable-static \
  --disable-thread-safety-constructor
  make DESTDIR=${PKGDIR} install
package: |
  rm -f ${PKGDIR}/usr/lib/libX11{,-xcb}.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="libX11-"
  $LYNX $url/?C=M\;O=D|grep "$ext$"|grep "$url/${pkgname}"|sed "s@$ext\$@@"|sed "s@$url/${pkgname}@@"|head -1