summaryrefslogblamecommitdiff
path: root/user/xsetpointer/APKBUILD
blob: 35ca4aa67c8e0f98fa9b4f2478ea3db316cdc062 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                              




                         










                                         



                  



                                                                                                                                                                        
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xsetpointer
pkgver=1.0.1
pkgrel=0
pkgdesc="Set the active pointer device on an X11 display"
url="https://www.X.Org/"
arch="all"
license="X11"
depends=""
makedepends="libx11-dev libxi-dev xorgproto-dev"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/xsetpointer-$pkgver.tar.bz2"

prepare() {
	default_prepare
	update_config_sub
}

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

check() {
	make check
}

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

sha512sums="1a462f70dde10c6ce92432440a9e718ba231c49ecbf68f0c2fd2276862edc4e9cd0dd5b6d71ad169b30e4cac7110278e4c8ed48eedd1d6cc0d1bd5e322bbcf58  xsetpointer-1.0.1.tar.bz2"