43 lines
1.4 KiB
Plaintext
43 lines
1.4 KiB
Plaintext
# Template file for 'fontforge'
|
|
pkgname=fontforge
|
|
version=20141230
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool libltdl-devel pkg-config git python"
|
|
makedepends="libltdl-devel python-devel zlib-devel pango-devel readline-devel
|
|
giflib-devel>=5.1.0 libpng-devel libjpeg-turbo-devel tiff-devel libxml2-devel
|
|
libspiro-devel hicolor-icon-theme desktop-file-utils"
|
|
depends="hicolor-icon-theme desktop-file-utils"
|
|
short_desc="Create and modify PostScript, TrueType and SVG fonts"
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
license="GPL-3,BSD"
|
|
homepage="http://fontforge.github.io/en-US/"
|
|
distfiles="https://github.com/fontforge/fontforge/archive/${version}.tar.gz
|
|
http://fontforge.org/cidmaps.tgz"
|
|
checksum="2b2328fe3943ba5a6e78b920bdec2fca61f33148c0e47d4f83a7076be708d1f5
|
|
1bf9c7eb8835e6ed94e62cb49f1141bc046c562849e52e6c3c7f1d7cfc95c7b3"
|
|
|
|
pre_configure() {
|
|
./bootstrap
|
|
}
|
|
|
|
post_install() {
|
|
vcopy ../Adobe-* usr/share/fontforge
|
|
vmkdir usr/share/icons/hicolor
|
|
vcopy "desktop/icons/*x*" usr/share/icons/hicolor
|
|
vcopy desktop/icons/scalable usr/share/icons/hicolor
|
|
vinstall desktop/fontforge.desktop 644 usr/share/applications
|
|
vlicense LICENSE
|
|
}
|
|
|
|
fontforge-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" -- development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|