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

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

27 linii Raw ← Powrót
123456789101112131415161718192021222324252627
pkgname: xorg-xwininfo
pkgver: '1.1.7'
pkgrel: '1'
pkgdesc: Command line utility to print information about windows on X server.
url: 'https://xorg.freedesktop.org'
arch: x86_64
depends: []
makedepends:
- libxcb
- xorg-libx11
source:
- 'https://ftp.x.org/pub/individual/app/xwininfo-${pkgver}.tar.xz'
sha256sums:
- bee14d594cc86cc59aae1015c1b452a71bf60c304131e2716ca1cf0df733b4ac
build: |
  cd ${pkgname/xorg-/}-1.1.7
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static
  make
package: |
  cd ${pkgname/xorg-/}-1.1.7
  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/xwininfo-"|sed "s@$ext\$@@"|sed "s@$url/xwininfo-@@"|head -1