summaryrefslogtreecommitdiffstats
path: root/base/xdialog/Pkgfile
blob: 723553d5ae3080b3c6eb295e65013ecd5ad0bfc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Description: Version GTK de dialog
# URL: http://xdialog.free.fr/
# Maintainer: NuTyX core team
# Packager: fred.galusik at gmail dot com
# Depends on: gettext, gtk

name=xdialog
version=2.3.1
release=1
source=(http://xdialog.free.fr/Xdialog-$version.tar.bz2)

build() {
cd Xdialog-$version
	./configure --prefix=/usr \
	--with-gtk
	sed -i -e "s:RANLIB = @RANLIB@:RANLIB = /usr/bin/ranlib:" lib/Makefile
	sed -i -e "s;XGETTEXT = :;XGETTEXT = /usr/bin/xgettext;" po/Makefile
	make
	make DESTDIR=$PKG install
}