smlinux/xorg/fontconfig/fontconfig.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

39 lines
932 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=fontconfig
version=2.13.1
build=1sml
homepage="https://www.freedesktop.org/wiki/Software/fontconfig/"
download="https://www.freedesktop.org/software/fontconfig/release/fontconfig-$version.tar.gz"
desc="Library for configuring and customizing font access"
requires="expat json-c freetype"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
printf "all:\n\ttrue\n\ninstall:\n\ttrue\n\n" > test/Makefile.in
./configure \
--prefix= \
--sysconfdir=/etc \
--localstatedir=/var \
--bindir=/bin \
--disable-docs
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
67e7ec728dbabc66134a9ab19ee142738d497160826d3ec18eb826e8686150b1e199beeb73ebae366722b11816a59e229bcefd1eac1f38825695ff651a472cec fontconfig-2.13.1.tar.lz
"