32 lines
530 B
Bash
32 lines
530 B
Bash
|
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
|
||
|
}
|