Created
November 8, 2010 06:47
-
-
Save kuno/667443 to your computer and use it in GitHub Desktop.
Make font-manager working with python2.7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment