aboutsummaryrefslogblamecommitdiffstats
path: root/main/xf86-input-synaptics/APKBUILD
blob: d0b6dac80713292aaa66d38ef7bcfd76e5908b01 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   
            
        
                                      
                       
          
             
                                       
        

                                                                   
                                                                              
 
                                   
         
                      
                                             



                                 

                                         

                                    


           
                      
                                      
 
 
                                                                                                                                                                                 
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-input-synaptics
pkgver=1.9.1
pkgrel=1
pkgdesc="X.org synaptics input driver"
url="https://www.x.org"
arch="all"
license="MIT"
subpackages="$pkgname-doc $pkgname-dev"
depends=
makedepends="libxkbfile-dev xorg-server-dev libxi-dev libxrandr-dev
	mtdev-dev libxtst-dev libevdev-dev"
source="https://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"

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

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="978eddd456aa7361047bc3d72e5127b24b13de29b0dddb6a0acc9f9da93931baa2b22fb5d1e6be164f629a11e5d97d753b835426435396b45b1af5eb8d546c3f  xf86-input-synaptics-1.9.1.tar.bz2"