smlinux/net/x2x/x2x.SMBuild

34 lines
748 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=x2x
version=1.32
build=2sml
homepage="https://github.com/dottedmag/x2x"
download=""
desc="Utility that enables input devices on one X display to control another X display"
requires="libx11 libxext libxi libxcb libxau libxdmcp libxtst"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
./bootstrap.sh
}
build() {
./configure \
--prefix="" \
--docdir="/share/doc/$app-$version"
make
make install DESTDIR=$pkg
mkfinalpkg
}
sha512sums="
62da3a1ba19cef2349b97f1dd51af854b6447f1ca1d3e9ffb96ec185885f27bf1b65719222b73db8f5cf4b78f90e0cd0937d3d0c0d11ea151ccd05157cc70c07 x2x-1.32.tar.lz
"