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

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

31 linii Raw ← Powrót
12345678910111213141516171819202122232425262728293031
pkgname: 'xorg-xmessage'
pkgver: '1.0.7'
pkgrel: '2'
pkgdesc: 'Display a message or query in a window.'
url: 'https://xorg.freedesktop.org'
arch: x86_64
depends: []
makedepends:
- 'xorg-libxaw'

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

sha256sums:
- SKIP

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

package: |
  cd ${pkgname/xorg-/}-1.0.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/xmessage-"|sed "s@$ext\$@@"|sed "s@$url/xmessage-@@"|head -1