smlinux/xorg/libxklavier/libxklavier.SMBuild

34 lines
866 B
Text
Executable file

app=libxklavier
version=5.4
build=1sml
homepage="https://www.freedesktop.org/wiki/Software/LibXklavier/"
download="https://github.com/freedesktop/libxklavier/archive/refs/tags/libxklavier-$version.tar.gz"
desc="High-level API for X Keyboard Extension"
requires="glib intltool iso-codes libxml2 libxi libxkbfile libxfixes xkeyboard-config"
build() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
./configure \
--prefix="" \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--with-xkb-base=/etc/X11/xkb
make
make install DESTDIR=$pkg
cp COPYING* $pkgdocs/
mkfinalpkg
}
sha512sums="
104c86648a3dabf13a4b7abb2cc47893e536b0f994d908b94fd214bab07dd1cb36d955061c5458bf5526917244dccc75b9314c92b6f0493a26a120735287f14d libxklavier-5.4.tar.lz
"