mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 14:04:37 +08:00
38 lines
909 B
Bash
38 lines
909 B
Bash
pkgname=pango
|
|
pkgver=1.40.14
|
|
pkgrel=1
|
|
pkgdesc="A library for layout and rendering of text"
|
|
arch=('x86_64')
|
|
license=('LGPL')
|
|
depends=('libthai' 'cairo' 'libxft' 'harfbuzz' 'graphite')
|
|
makedepends=('harfbuzz' 'fontconfig' 'cairo' 'libxft' 'libthai' 'gobject-introspection' 'help2man')
|
|
checkdepends=('ttf-dejavu')
|
|
install=pango.install
|
|
source=(http://download.gnome.org/sources/${pkgname}/${pkgver:0:4}/${pkgname}-${pkgver}.tar.xz)
|
|
url="http://www.pango.org/"
|
|
sha256sums=('90af1beaa7bf9e4c52db29ec251ec4fd0a8f2cc185d521ad1f88d01b3a6a17e3')
|
|
|
|
prepare() {
|
|
cd ${pkgname}-${pkgver}
|
|
}
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
rm -f pango-view/pango-view.1.in
|
|
|
|
./configure --prefix=/usr --sysconfdir=/etc \
|
|
--localstatedir=/var --with-included-modules=basic-fc
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd ${pkgname}-${pkgver}
|
|
make -k check || :
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
make -j1 DESTDIR="${pkgdir}" install
|
|
}
|