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

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

34 linii Raw ← Powrót
12345678910111213141516171819202122232425262728293031323334
pkgname: 'xorg-encodings'
pkgver: '1.1.0'
pkgrel: '1'
pkgdesc: 'X.org font encoding files'
url: 'https://gitlab.freedesktop.org/xorg/font/encodings'
arch: x86_64
depends: []
makedepends:
- 'xorg-util-macros'
- 'xorg-mkfontscale'

source:
- 'https://xorg.freedesktop.org/releases/individual/font/encodings-${pkgver}.tar.xz'

sha256sums:
- SKIP

build: |
  cd encodings-${pkgver}

  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var

  make
  make DESTDIR=${PKGDIR} install

package: |
  true

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