summaryrefslogblamecommitdiff
path: root/user/xf86-input-synaptics/APKBUILD
blob: 8c7a4690f538efcd6db4c74755275c251a4c0d3b (plain) (tree)
1
2
3
4
5
6
7
8

                                                 
            
        
                                                           


                        


                                                                            
                                       
                                                                             

         











                                             



                  



                                                                            
                                                                                                                                                                                
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xf86-input-synaptics
pkgver=1.9.2
pkgrel=0
pkgdesc="X.Org input driver for Synaptics laptop trackpads"
url="https://www.X.Org/"
arch="all"
license="MIT"
depends=""
makedepends="libevdev-dev libxi-dev libxkbfile-dev libxrandr-dev libxtst-dev
	mtdev-dev xorg-server-dev"
subpackages="$pkgname-doc $pkgname-dev"
source="https://www.X.Org/releases/individual/driver/$pkgname-$pkgver.tar.xz"

build() {
	export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

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

sha512sums="6fd46505f22bba79f612fbd48dddd4818f7d874cc29caac71840744de27f1d224c68861e3a18d2a866b78178924d2f093f5260e27b221aa1fb17dbc09d66b649  xf86-input-synaptics-1.9.2.tar.xz"