contrib/synergy/Pkgfile

24 lines
804 B
Plaintext
Raw Normal View History

2013-05-31 22:39:17 +02:00
# Description: Share mouse and keyboard between multiple computers
# URL: http://synergy-foss.org/
2020-05-24 15:18:55 +02:00
# Maintainer: Thomas Penteker, tek at serverop dot de
# Depends on: xorg-libxrender xorg-libxdmcp xorg-libxcb avahi xorg-libxtst
2013-05-31 22:39:17 +02:00
name=synergy
2020-05-24 15:18:55 +02:00
version=2.0.0
2013-05-31 22:39:17 +02:00
release=1
2018-06-02 20:17:49 +02:00
source=(https://github.com/symless/synergy-core/archive/v${version}-stable.tar.gz)
2013-05-31 22:39:17 +02:00
build() {
2018-06-02 20:17:49 +02:00
# work around a failing cmake file by defining re/version
2020-05-24 15:18:55 +02:00
cmake -S$name-core-$version-stable -Bbuild -GNinja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSYNERGY_REVISION=0bd448d5 \
-DSYNERGY_VERSION=$version .
2013-05-31 22:39:17 +02:00
2020-05-24 15:18:55 +02:00
cmake --build build
2018-06-02 20:17:49 +02:00
install -d -m 755 $PKG/usr/bin
2020-05-24 15:18:55 +02:00
install -D -m 755 build/bin/synergyc $PKG/usr/bin
install -D -m 755 build/bin/synergy-core $PKG/usr/bin
install -D -m 755 build/bin/synergys $PKG/usr/bin
2013-05-31 22:39:17 +02:00
}