Commit 47d038af authored by Sean's avatar Sean

testing/barrier: new aport

parent a522ceff
Pipeline #25164 passed with stages
in 2 minutes and 25 seconds
# Contributor: Sean McAvoy <seanmcavoy@gmail.com>
# Maintainer: Sean McAvoy <seanmcavoy@gmail.com>
pkgname=barrier
pkgver=2.3.2
pkgrel=0
pkgdesc="Open-source KVM software"
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"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment