summaryrefslogtreecommitdiffstats
path: root/extra/xdialog/Pkgfile
blob: d59af5aa21a15c222fd623872a8e63e536dea020 (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: Version GTK de dialog
# URL: http://xdialog.free.fr/
# Maintainer: NuTyX core team
# Packager: fred.galusik at gmail dot com
# Depends on: gtk1
# Run on: gtk1

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

build() {
cd Xdialog-$version
	./configure --prefix=/usr \
	--mandir=/usr/share/man \
	--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
}