summaryrefslogtreecommitdiffstats
path: root/gnome/gnome-mag/Pkgfile
blob: bedc49bf21ac6fe4bb9f87555dc1dcd7cfc00a0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Description: gnome-mag magnification service definition
# URL: http://developer.gnome.org/projects/gap/
# Maintainer: Matt Housh, jaeger at morpheus dot net
# Depends on: at-spi
# Group: gnome

name=gnome-mag
version=0.15.4
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 \
		--mandir=/usr/man \
		--enable-debug=no
	make
	make DESTDIR=$PKG install
	rm -rf $PKG/usr/share/doc
}