mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 19:57:14 +08:00
34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
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=libfontenc
|
|
pkgver=1.1.0
|
|
pkgrel=1
|
|
pkgdesc="X11 font encoding library"
|
|
arch=(i686 x86_64)
|
|
url="http://xorg.freedesktop.org/"
|
|
license=('custom')
|
|
depends=('zlib')
|
|
makedepends=('pkgconfig' 'xproto>=7.0.18')
|
|
options=('!libtool')
|
|
source=(${url}/releases/individual/lib/${pkgname}-${pkgver}.tar.bz2)
|
|
sha1sums=('ba158e4c10a1aff2351ef632def03dec0e0ee11e')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr --sysconfdir=/etc \
|
|
--localstatedir=/var --disable-static \
|
|
--with-encodingsdir=/usr/share/fonts/encodings || return 1
|
|
|
|
make || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
|
|
}
|