jobextra/xf86-input-libinput/PKGBUILD

51 lines
1.9 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=xf86-input-libinput
pkgver=1.4.0
pkgrel=01 # rebuilt against libinput 1.20.0-01
pkgdesc="Generic input driver for the X.Org server based on libinput"
url="http://xorg.freedesktop.org/"
depends=('libinput' 'glibc')
makedepends=('xorg-server-devel' 'X-ABI-XINPUT_VERSION=24.4' 'libxi' 'libx11' 'xorgproto')
conflicts=('xorg-server<1.19.0' 'X-ABI-XINPUT_VERSION<24' 'X-ABI-XINPUT_VERSION>=25')
groups=('xorg-drivers')
source=(https://xorg.freedesktop.org/releases/individual/driver/${pkgname}-${pkgver}.tar.xz{,.sig})
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr \
--disable-static
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('custom:MIT')
validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office@who-t.net>
#validpgpkeys=('FD0004A26EADFE43A4C3F249C6F7AE200374452D') # "Povilas Kanapickas <povilas@radix.lt>"
sha256sums=(3a3d14cd895dc75b59ae2783b888031956a0bac7a1eff16d240dbb9d5df3e398 # xf86-input-libinput-1.4.0.tar.xz
daf4600c2f81fc24818d037d8a3d5569999fc525c755e9780dc9d7be1a2a42d5) # xf86-input-libinput-1.4.0.tar.xz.sig
sha512sums=('b286b5425aeda5cfecd1de7f59663d169b95ffc55474dfbf28c2e13e5221cbeecd472d40b6094c0a937f83db67bf58a7fe0e07d25b6a6945d3fd669e717fc0bf'
'SKIP')
## 15a85feb8ab9f33830ed40120145e68994f72577a206769bd08f83454a38859a xf86-input-libinput-1.4.0-01-x86_64.pkg.tar.lz