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

recipes/gui/printproto/PAGBUILD.yaml main

29 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829
pkgname: printproto
pkgver: '1.0.5'
pkgrel: '3'
pkgdesc: 'Xorg Header files which allow to build against the installed X Window system.'
url: 'https://xorg.freedesktop.org'
arch: x86_64
depends: []
makedepends: []
source:
- 'https://ftp.x.org/pub/individual/proto/${pkgname}-${pkgver}.tar.bz2'

sha256sums:
- SKIP

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

package: |
  cd printproto-1.0.5
  make DESTDIR="${PKGDIR}" install

update: |
  local ext url LINX
  LYNX="lynx -read_timeout=20 -dump -listonly -nonumbers "
  ext=".tar.bz2"
  url="https://ftp.x.org/archive/individual//proto"
  $LYNX $url/?C=M\;O=D|grep "$ext$"|grep "$url/${pkgname}-"|sed "s@$ext\$@@"|sed "s@$url/${pkgname}-@@"|head -1