iglunix/gui/fontconfig/build.sh

32 lines
530 B
Bash
Raw Normal View History

2021-02-03 13:03:52 +00:00
pkgname=fontconfig
pkgver=2.13.93
fetch() {
curl "https://www.freedesktop.org/software/fontconfig/release/fontconfig-2.13.93.tar.gz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
cp ../fcobjshash.h $pkgname-$pkgver/src
mkdir $pkgname-$pkgver/build
}
build() {
cd $pkgname-$pkgver
cd build
meson .. \
--buildtype=release \
--prefix=/usr \
--libexecdir=lib
samu
}
package() {
cd $pkgname-$pkgver
cd build
DESTDIR=$pkgdir samu install
}
license() {
cd $pkgname-$pkgver
cat LICENSE
# cat COPYING
}