aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-02-24 18:43:33 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-02-24 23:29:30 -0300
commit758dc8fa0d173f75f76b8ffbd1d304a67685b60c (patch)
treef489a7085eb20f62a3430122bd294a48b1bc45a8 /community
parent439201b8c3a5c46d677cecf33179076a29ec75e9 (diff)
downloadaports-758dc8fa0d173f75f76b8ffbd1d304a67685b60c.tar.bz2
aports-758dc8fa0d173f75f76b8ffbd1d304a67685b60c.tar.xz
community/xbanish: move from main
Diffstat (limited to 'community')
-rw-r--r--community/xbanish/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/xbanish/APKBUILD b/community/xbanish/APKBUILD
new file mode 100644
index 0000000000..3bca71bf61
--- /dev/null
+++ b/community/xbanish/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Eivind Uggedal <eu@eju.no>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=xbanish
+pkgver=1.6
+pkgrel=0
+pkgdesc="Banish the mouse cursor when typing, show it again when the mouse moves"
+url="https://github.com/jcs/xbanish"
+arch="all"
+license="BSD-3-Clause"
+depends=""
+depends_dev=""
+makedepends="libx11-dev libxt-dev libxfixes-dev libxi-dev"
+install=""
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ make
+}
+
+package() {
+ cd "$builddir"
+
+ mkdir -p "$pkgdir"/usr/bin
+ mkdir -p "$pkgdir"/usr/share/man/man1
+ make \
+ PREFIX=/usr \
+ DESTDIR="$pkgdir" \
+ MANDIR=/usr/share/man/man1 \
+ install
+}
+
+sha512sums="a0eb7fdac94f95756636c3d3c114771b6865f26cbb7dbd4fbe10ffd29c21725dcd3570caaf0d2381fa0a32092d3348929df80ee7bb78047c7cfffe04cd29a38f xbanish-1.6.tar.gz"