smlinux/xorg/pixman/pixman.SMBuild

33 lines
755 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=pixman
version=0.40.0
build=1sml
homepage="https://cgit.freedesktop.org/pixman/"
download="https://xorg.freedesktop.org/releases/individual/lib/pixman-$version.tar.xz"
desc="The pixel-manipulation library for X and cairo"
requires="libpng"
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=/usr
ninja
DESTDIR="$pkg" ninja install
cp ../COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
ce6b5e908670853e68292e933b0e223b8f0f416643a1c0ea5d6685270f3391418c4715379f476c595d8aadadf3b89aad5cdfe0ac4b7e87855c707a9bd68eeff6 pixman-0.40.0.tar.lz
"