mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 01:47:15 +08:00
28 lines
1.1 KiB
Bash
28 lines
1.1 KiB
Bash
# $Id: PKGBUILD 68255 2010-02-12 03:04:38Z eric $
|
|
# Maintainer: Eric Belanger <eric@archlinux.org>
|
|
# Contributor: William Rea <sillywilly@gmail.com>
|
|
|
|
pkgname=fontforge
|
|
pkgver=20090923
|
|
pkgrel=2
|
|
pkgdesc="An outline and bitmap font editor"
|
|
arch=('i686' 'x86_64')
|
|
url="http://fontforge.sourceforge.net"
|
|
license=('BSD')
|
|
depends=('libxkbui' 'libxi' 'libxml2' 'pango' 'giflib' 'libpng' 'libtiff' 'libjpeg' 'python')
|
|
options=('!libtool' '!makeflags')
|
|
source=(http://downloads.sourceforge.net/sourceforge/fontforge/fontforge_full-${pkgver}.tar.bz2 \
|
|
libpng14.patch)
|
|
md5sums=('ea9d8dc38de79235fbe6add725b38ffe' '7f69008310b6c1b8c1f2d617fc68d207')
|
|
sha1sums=('cccf78ddf074ea5ddc3ce13a988dc17d383eabdd' 'b25885ad555bb25736f25311a23b5b21fc5a2165')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
patch -p1 < ../libpng14.patch || return 1
|
|
./configure --prefix=/usr --mandir=/usr/share/man --enable-type3 --enable-double \
|
|
--enable-devicetables --with-regular-link --with-python || return 1
|
|
make || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
|
|
}
|