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

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

35 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132333435
pkgname: 'xorg-xsetroot'
pkgver: '1.1.4'
pkgrel: '1'
pkgdesc: 'Classic X utility to set your rootwindow background.'
url: 'https://xorg.freedesktop.org'
arch: x86_64
depends: []
makedepends:
- xorgproto
- 'xorg-libxmu'
- 'xorg-libx11'
- 'xorg-xbitmaps'
- 'xorg-libxcursor'

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

sha256sums:
- SKIP

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

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