From 7f1e93e173560d06e3eb508f68fd58ca3d3437ac Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 1 Jan 2019 09:15:26 +0000 Subject: user/xsetpointer: new package --- user/xsetpointer/APKBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 user/xsetpointer/APKBUILD 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 +# Maintainer: A. Wilcox +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" -- cgit v1.2.3-70-g09d2