diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-01-01 09:15:26 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-01-01 09:15:26 +0000 |
commit | 7f1e93e173560d06e3eb508f68fd58ca3d3437ac (patch) | |
tree | 45af130a8856dcd8021b70c3f8112d5ecc1fb6ac /user | |
parent | efaceae43e71780e2081f4237688c6c7e6a18cdd (diff) | |
download | packages-7f1e93e173560d06e3eb508f68fd58ca3d3437ac.tar.gz packages-7f1e93e173560d06e3eb508f68fd58ca3d3437ac.tar.bz2 packages-7f1e93e173560d06e3eb508f68fd58ca3d3437ac.tar.xz packages-7f1e93e173560d06e3eb508f68fd58ca3d3437ac.zip |
user/xsetpointer: new package
Diffstat (limited to 'user')
-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" |