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

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

35 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132333435
pkgname: 'xorg-libxmu'
pkgver: '1.3.1'
pkgrel: '1'
pkgdesc: 'X11 miscellaneous micro-utility library'
url: 'https://gitlab.freedesktop.org/xorg/lib/libxmu'
arch: x86_64
depends: []
makedepends:
- xorgproto
- 'xorg-libxt'
- 'xorg-libxext'
- 'xorg-libx11'

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

sha256sums:
- SKIP

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

package: |
  rm -f ${PKGDIR}/usr/lib/libXmu{,u}.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="libXmu-"
  $LYNX $url/?C=M\;O=D|grep "$ext$"|grep "$url/${pkgname}"|sed "s@$ext\$@@"|sed "s@$url/${pkgname}@@"|head -1