smlinux/xorg/xcb-util-keysyms/xcb-util-keysyms.SMBuild

34 lines
810 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xcb-util-keysyms
version=0.4.0
build=1sml
homepage="https://xcb.freedesktop.org/"
download="https://xcb.freedesktop.org/dist/xcb-util-keysyms-$version.tar.bz2"
desc="Utility libraries for XC Binding - Standard X key constants and conversion to/from keycodes"
requires="libxcb xcb-util"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr \
--disable-static
make
make install DESTDIR=$pkg
cp $srcdir/LICENSE $pkgdocs/
mkfinalpkg
}
sha512sums="
634f41649f842326f19162fa8524c8d95f434aec3c9cb1cbd750fbbdc27277397413c661ca85e1480ba063edb053a448bf4f8be62c2782843565bc32aee6fef5 xcb-util-keysyms-0.4.0.tar.lz
"