mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 18:47:15 +08:00
39 lines
1.1 KiB
Bash
39 lines
1.1 KiB
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas@chakra-project.org
|
|
|
|
pkgname=fontforge
|
|
pkgver=20120731
|
|
_pkgver=20120731-b
|
|
pkgrel=1
|
|
pkgdesc="An outline and bitmap font editor"
|
|
arch=('x86_64')
|
|
url="http://fontforge.sourceforge.net"
|
|
license=('BSD')
|
|
depends=('libxkbui' 'libxi' 'libxml2' 'pango' 'giflib' 'libpng' 'libtiff' 'libjpeg-turbo' 'python2')
|
|
options=('!libtool' '!makeflags')
|
|
source=("http://sourceforge.net/projects/fontforge/files/fontforge-source/fontforge_full-${_pkgver}.tar.bz2")
|
|
md5sums=('a8a90473a97da87e45f66d11007b6e7c')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${_pkgver}"
|
|
|
|
./configure --prefix=/usr \
|
|
--mandir=/usr/share/man \
|
|
--enable-type3 \
|
|
--enable-double \
|
|
--enable-devicetables \
|
|
--with-regular-link \
|
|
--with-python2 \
|
|
--enable-pyextensions
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${_pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
}
|