🔒 Repository is read-only – file editing is disabled.
1234567891011121314151617181920212223242526
pkgname: xorg-xmodmap
pkgver: '1.0.12'
pkgrel: '1'
pkgdesc: Utility for modifying keymaps and button mappings.
url: 'https://xorg.freedesktop.org'
arch: x86_64
depends: []
makedepends:
- xorg-libx11
source:
- 'https://ftp.x.org/pub/individual/app/xmodmap-${pkgver}.tar.xz'
sha256sums:
- fc54b9b5bbf2ae58ba8f9d42bd051c41c7438377400c42c17d7496d19e1bb3ce
build: |
cd ${pkgname/xorg-/}-1.0.12
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static
make
package: |
cd ${pkgname/xorg-/}-1.0.12
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/xmodmap-"|sed "s@$ext\$@@"|sed "s@$url/xmodmap-@@"|head -1