mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 12:47:16 +08:00
26 lines
660 B
Bash
26 lines
660 B
Bash
pkgname=libxfont
|
|
pkgver=1.5.4
|
|
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=('16eaf156edd79b68038b6a7c44aa9e9b')
|
|
|
|
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"
|
|
}
|
|
|