public
Created

Make font-manager working with python2.7

  • Download Gist
PKGBUILD
Shell
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
# Contributor: Joeny Ang <ang(dot)joeny(at)gmail(dot)com>
# Contributor: Guan 'kuno' Qing <neokuno AT gmail DOT com>
 
pkgname=font-manager
pkgver=0.5.6
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)
md5sums=('7cda59dadf2d47ad6f5e07d3d6d25e04')
 
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr \
--sysconfdir=/etc || return 1
sed -i -e 's/^PYTHON.*/PYTHON=\/usr\/bin\/python2/' Makefile
make || return 1
}
 
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir}/ install || return 1
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.