PaganOS Luna 0.6.0
PL EN DE
🔒 Repository is read-only – file editing is disabled.

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

44 lines Raw ← Back
1234567891011121314151617181920212223242526272829303132333435363738394041424344
pkgname: 'xorg-xinput'
pkgver: '1.6.4'
pkgrel: '3'
pkgdesc: 'Small commandline tool to configure devices.'
url: 'https://xorg.freedesktop.org'
arch: x86_64
depends:
- 'xorg-xrandr'
- xorg-libx11
- xorg-libxext
- xorg-libxi
- xorg-libxinerama
- xorg-libxrandr

makedepends:
- 'xorg-libx11'
- 'xorg-libxext'
- 'xorg-libxi'
- xorgproto
- 'xorg-libxrandr'
- 'xorg-libxinerama'
- 'xorg-xrandr'

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

sha256sums:
- SKIP

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

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