Skip to content

@kuno /PKGBUILD
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Make font-manager working with python2.7
# 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
Something went wrong with that request. Please try again.