New package: fontforge-2.0.20140101

This commit is contained in:
Christian Neukirchen 2014-07-24 20:38:07 +02:00
parent f67a372d31
commit 0e5bdb8937
2 changed files with 44 additions and 0 deletions

1
srcpkgs/fontforge-devel Symbolic link
View File

@ -0,0 +1 @@
fontforge

View File

@ -0,0 +1,43 @@
# Template file for 'fontforge'
pkgname=fontforge
version=2.0.20140101
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="libltdl-devel python-devel zlib-devel pango-devel readline-devel
giflib-devel libpng-devel libjpeg-turbo-devel tiff-devel libxml2-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="3d7fa1e9e05ccae2a949bf78ae4bfa5ac166d91a370cd1073ed8c51710bc5f00
1bf9c7eb8835e6ed94e62cb49f1141bc046c562849e52e6c3c7f1d7cfc95c7b3"
pre_configure() {
sed '/fontforge_package_name/s/^#//' -i configure.ac
./autogen.sh --verbose
}
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
}
}