aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean McAvoy <seanmcavoy@gmail.com>2020-06-14 13:06:23 -0400
committerMilan P. Stanić <mps@arvanta.net>2020-07-01 19:47:53 +0000
commit5e19b85b4bb7332df829ed26a073e2f0e6d927a1 (patch)
treee04ac2a0aade8a93e543b879753088bea64ca99c
parent50dfb036611d9e944b22a24e13dfdd7a16f274a1 (diff)
downloadaports-5e19b85b4bb7332df829ed26a073e2f0e6d927a1.tar.gz
aports-5e19b85b4bb7332df829ed26a073e2f0e6d927a1.tar.bz2
aports-5e19b85b4bb7332df829ed26a073e2f0e6d927a1.tar.xz
testing/barrier: new aport
-rw-r--r--testing/barrier/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/barrier/APKBUILD b/testing/barrier/APKBUILD
new file mode 100644
index 0000000000..071c7b1de9
--- /dev/null
+++ b/testing/barrier/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Sean McAvoy <seanmcavoy@gmail.com>
+# Maintainer: Sean McAvoy <seanmcavoy@gmail.com>
+pkgname=barrier
+pkgver=2.3.2
+pkgrel=0
+pkgdesc="share keyboard and mouse between systems over network"
+url="https://github.com/debauchee/barrier"
+arch="all"
+license="GPL-2.0-only"
+options="!check"
+depends="hicolor-icon-theme"
+makedepends="qt5-qtbase-dev cmake avahi-dev libxtst-dev curl-dev"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/debauchee/barrier/archive/v$pkgver.tar.gz"
+
+build() {
+ cmake \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --build src --target install
+ mkdir -p "$pkgdir"/usr/share/doc/"$pkgname"
+ install -Dm0644 LICENSE "$pkgdir"/usr/share/doc/"$pkgname"/LICENSE
+ install -Dm0644 doc/barrierc.1 "$pkgdir"/usr/share/man/man1/barrierc.1
+ install -Dm0644 doc/barriers.1 "$pkgdir"/usr/share/man/man1/barriers.1
+ install -Dm0644 doc/barrier.conf.example "$pkgdir"/usr/share/doc/"$pkgname"/barrier.conf.example
+ install -Dm0644 doc/barrier.conf.example-basic "$pkgdir"/usr/share/doc/"$pkgname"/barrier.conf.example-basic
+ install -Dm0644 doc/barrier.conf.example-advanced "$pkgdir"/usr/share/doc/"$pkgname"/barrier.conf.example-advanced
+}
+
+sha512sums="0452244afc3294aaafd89f18d2472e24fb2fc62426e7be91ab4ffceca4697c7acb8f4438fc299835f1312f0ada83911679abe6b8e1268631130c5877e193ff83 barrier-2.3.2.tar.gz"