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

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

35 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132333435
pkgname: 'xorg-libfontenc'
pkgver: '1.1.9'
pkgrel: '1'
pkgdesc: 'X11 font encoding library'
url: 'https://gitlab.freedesktop.org/xorg/lib/libfontenc'
arch: x86_64
license:
- MIT

depends: []
makedepends:
- xorgproto

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

sha256sums:
- SKIP

build: |
  cd libfontenc-1.1.9
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static
  make
  make DESTDIR="${PKGDIR}" install

package: |
  rm -f ${PKGDIR}/usr/lib/libfontenc.la

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