mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 02:47:14 +08:00
26 lines
660 B
Bash
26 lines
660 B
Bash
pkgname=libxfont
|
|
pkgver=1.5.1
|
|
pkgrel=1
|
|
pkgdesc="X11 font rasterisation library"
|
|
arch=(x86_64)
|
|
url="http://xorg.freedesktop.org/"
|
|
license=('custom')
|
|
depends=('freetype2' 'libfontenc' 'xproto' 'fontsproto')
|
|
makedepends=('xorg-util-macros' 'xtrans')
|
|
options=('!libtool')
|
|
source=(${url}/archive/individual/lib/libXfont-${pkgver}.tar.bz2)
|
|
md5sums=('96f76ba94b4c909230bac1e2dcd551c4')
|
|
|
|
build() {
|
|
cd "${srcdir}/libXfont-${pkgver}"
|
|
./configure --prefix=/usr --sysconfdir=/etc --disable-static
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/libXfont-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
|
}
|
|
|