diff options
-rw-r--r-- | user/xsetpointer/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/user/xsetpointer/APKBUILD b/user/xsetpointer/APKBUILD new file mode 100644 index 000000000..0e0d5f697 --- /dev/null +++ b/user/xsetpointer/APKBUILD @@ -0,0 +1,43 @@ +# 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" |