smlinux/xorg/xkeyboard-config/xkeyboard-config.SMBuild
PktSurf 02d504d50f Added xdg-utils to xorg
Discarded --docdir build option, double quotes and made minor changes to several xorg build files
2023-06-06 15:03:00 +05:30

34 lines
879 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xkeyboard-config
version=2.38
build=1sml
homepage="https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config"
download="https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/archive/xkeyboard-config-$version/xkeyboard-config-xkeyboard-config-$version.tar.bz2"
desc="X keyboard configuration files"
requires="intltool libxslt xkbcomp"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
mkdir -p smbuild && cd smbuild
meson .. \
--prefix=/
ninja
DESTDIR="$pkg" ninja install
cp ../COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
1193c7483d15963bfd1560af9cfeee22f4896d63b1f6ec8f61b1431225689280cac226f321fe74193026f32d18e8b177f572df91fa81abc338aa7f022c1e2f5c xkeyboard-config-2.38.tar.lz
"