public
Created

font-manager PKGBUILD

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
# Maintainer: Joeny Ang <ang(dot)joeny(at)gmail(dot)com>
# Contributor: Guan 'kuno' Qing <neokuno(at)gmail(dot)com>
 
pkgname=font-manager
pkgver=0.5.7
pkgrel=1
pkgdesc="A font management application for the GNOME desktop"
url="http://code.google.com/p/font-manager/"
arch=('i686' 'x86_64')
license=('GPL')
depends=('pygtk>=2.0' 'libxml2' 'fontconfig')
optdepends=('file-roller: to export font collections to archives'
'gucharmap: to view selected font using GNOME character map application'
'python-reportlab: to create PDF sample sheets')
source=("http://font-manager.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2"
"0001-nonexistent_cache.patch"
"1001-gcc47.patch")
 
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc
sed -i -e 's/^PYTHON.*/PYTHON=\/usr\/bin\/python2/' Makefile
 
patch -Np1 < ../0001-nonexistent_cache.patch
patch -Np1 < ../1001-gcc47.patch
 
make
}
 
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir}/ install
}
 
md5sums=('7cd3b635eaddcb84a8b31509880510ed'
'50e732de1a92bc498d4cffd39185225c'
'727acfbbce4ab8d05078e4719443ce29')

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.