summaryrefslogblamecommitdiff
path: root/user/xsetpointer/APKBUILD
blob: 0e0d5f697abcd97a9b9c3df59f70c836924740cc (plain) (tree)










































                                                                                                                                                                        
# 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() {
	cd "$builddir"
	default_prepare
	update_config_sub
}

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
}

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