Created
September 15, 2012 17:19
-
-
Save gutenye/3728926 to your computer and use it in GitHub Desktop.
font-manager PKGBUILD
This file contains hidden or 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
# 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') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment