summaryrefslogtreecommitdiffstats
path: root/fredjo-gnome-2.28-test/libgnomeprint/Pkgfile
blob: 2fa446b37e7e98c5aa8860ff944862d2f4a1a1f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description: GNOME Printing Library
# URL: http://www.levien.com/gnome/print-arch.html
# Maintainer: Matt Housh, jaeger at morpheus dot net
# Depends on: intltool, libart_lgpl, glib, pango, libgnomecups, popt
# Group: gnome/desktop

name=libgnomeprint
version=2.18.5
release=1
gnomever=2.24.3
source=(http://download.gnome.org/desktop/${gnomever%.*}/$gnomever/sources/$name-$version.tar.bz2)

build() {
	cd $name-$version
	rm po/*.po
	sed -i -e 's/USE_NLS=yes/USE_NLS=no/' \
		-e 's/ENABLE_NLS 1/ENABLE_NLS 0/' configure
	./configure --prefix=/usr \
		--disable-gtk-doc
	make
	make DESTDIR=$PKG install
	rm -rf $PKG/usr/share/gtk-doc
}