diff options
author | James Meyer <james.meyer@operamail.com> | 2012-11-26 14:59:58 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-11-26 14:59:58 (GMT) |
commit | 8db56139836c846e01639ad9fc57ca954249321a (patch) | |
tree | ebbb5ebe292021a221896e26b315193c9036611d /abs/extra | |
parent | f1e00c61da9defb1a23be8898dfa92a63b23f603 (diff) | |
download | linhes_pkgbuild-8db56139836c846e01639ad9fc57ca954249321a.zip linhes_pkgbuild-8db56139836c846e01639ad9fc57ca954249321a.tar.gz linhes_pkgbuild-8db56139836c846e01639ad9fc57ca954249321a.tar.bz2 |
fontforge: updated from abs, needed by ttf fonts
Diffstat (limited to 'abs/extra')
-rw-r--r-- | abs/extra/fontforge/PKGBUILD | 22 | ||||
-rw-r--r-- | abs/extra/fontforge/install | 12 |
2 files changed, 26 insertions, 8 deletions
diff --git a/abs/extra/fontforge/PKGBUILD b/abs/extra/fontforge/PKGBUILD index ff53b21..e886302 100644 --- a/abs/extra/fontforge/PKGBUILD +++ b/abs/extra/fontforge/PKGBUILD @@ -1,24 +1,28 @@ -# $Id$ +# $Id: PKGBUILD 171504 2012-11-18 08:12:30Z bisson $ # Maintainer: Gaetan Bisson <bisson@archlinux.org> # Contributor: Eric Belanger <eric@archlinux.org> # Contributor: William Rea <sillywilly@gmail.com> pkgname=fontforge -pkgver=20120119 -pkgrel=1 +pkgver=20120731_b +pkgrel=2 pkgdesc='Outline and bitmap font editor' arch=('i686' 'x86_64') url='http://fontforge.sourceforge.net/' license=('BSD') -depends=('libxkbui' 'libxi' 'libxml2' 'pango' 'giflib' 'libtiff' 'python2' 'libspiro') +depends=('libxkbui' 'libxi' 'libxml2' 'pango' 'giflib' 'libtiff' 'python2' 'libspiro' + 'desktop-file-utils' 'gtk-update-icon-cache' 'hicolor-icon-theme') options=('!libtool' '!makeflags') -source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.xz") -sha1sums=('2c363af075e77bf35d21ee1939e3d6ab39a9f80c') +source=("http://downloads.sourceforge.net/project/fontforge/fontforge-source/fontforge_full-${pkgver//_/-}.tar.bz2") +sha1sums=('b520f532b48e557c177dffa29120225066cc4e84') # git clone git://fontforge.git.sourceforge.net/gitroot/fontforge/fontforge; cd fontforge; git archive --prefix=${pkgname}-${pkgver}/ master | xz > ../${pkgname}-${pkgver}.tar.xz +# source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.xz") + +install=install build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}-${pkgver//_/-}" sed -i 's/python /python2 /g' Makefile.dynamic.in ./configure \ --prefix=/usr \ @@ -34,7 +38,9 @@ build() { } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}-${pkgver//_/-}" make DESTDIR="${pkgdir}" install install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 Packaging/fontforge.desktop "${pkgdir}/usr/share/applications/fontforge.desktop" + install -d "${pkgdir}/usr/share/icons/hicolor"; mv Packaging/icons "${pkgdir}/usr/share/icons/hicolor" } diff --git a/abs/extra/fontforge/install b/abs/extra/fontforge/install new file mode 100644 index 0000000..5ffa247 --- /dev/null +++ b/abs/extra/fontforge/install @@ -0,0 +1,12 @@ +post_upgrade() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_install() { + post_upgrade +} + +post_remove() { + post_upgrade +} |