mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 20:07:14 +08:00
32 lines
1001 B
Bash
32 lines
1001 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=libxfontcache
|
|
pkgver=1.0.5
|
|
pkgrel=2
|
|
pkgdesc="X11 font cache library"
|
|
arch=(i686 x86_64)
|
|
url="http://xorg.freedesktop.org/"
|
|
license=('custom')
|
|
depends=('libxext' 'fontcacheproto')
|
|
makedepends=('pkgconfig')
|
|
options=('!libtool')
|
|
source=(${url}/releases/individual/lib/libXfontcache-${pkgver}.tar.bz2 LICENSE)
|
|
md5sums=('bbd37768c87f63cf2eb845b2c0f56515'
|
|
'152d5429e5292e8098c667e0d0d22f01')
|
|
|
|
build() {
|
|
cd ${srcdir}/libXfontcache-${pkgver}
|
|
./configure --prefix=/usr --sysconfdir=/etc --disable-static \
|
|
--build=${CHOST} --host=${CHOST}
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
install -D -m644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
|
|
}
|