summaryrefslogblamecommitdiff
path: root/user/xf86-input-libinput/APKBUILD
blob: 655c9319f87ba292eafff89421b871b53f4ff889 (plain) (tree)
1
2
3
4
5
6


                                                              
             
        
                                                   































                                                                              
                                                                                                                                                                                 
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xf86-input-libinput
pkgver=0.28.1
pkgrel=0
pkgdesc="X.Org generic input driver using libinput"
url="https://www.X.Org/"
arch="all"
license="MIT"
depends=""
depends_dev="libinput-dev xorg-server-dev"
makedepends="$depends_dev eudev-dev xorgproto-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.X.Org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

sha512sums="2b8cabfbc3490edbe928771ed9d62a0d4a423bc1373fc6cf9d3a6b5937e17ddc48ebb1b70f1191e507024e4b8220c137495cbba825292b51e50709daa7d31623  xf86-input-libinput-0.28.1.tar.bz2"