2 # Contributor: Jan Jezek <honzin.jezek@gmail.com>
3 # Contributor: Skunnyk <skunnyk@archlinux.fr>
8 pkgdesc="Squeeze is a modern and advanced archive manager for the Xfce Desktop Environment"
11 url="http://www.xfce.org/"
13 makedepends=('git' 'xfce4-dev-tools' 'pkgconfig' 'gtk-doc')
14 depends=('libxfce4util' 'hicolor-icon-theme' 'dbus-glib' 'gtk2' 'desktop-file-utils')
18 install=squeeze.install
21 _gitroot="git://git.xfce.org/apps/squeeze"
26 msg "Connecting to GIT server...."
28 if [[ -d "$_gitname" ]]; then
29 cd "$_gitname" && git pull origin
30 msg "The local files are updated."
32 git clone "$_gitroot" "$_gitname"
35 msg "GIT checkout done or server timeout"
36 msg "Starting build..."
38 rm -rf "$srcdir/$_gitname-build"
39 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
40 cd "$srcdir/$_gitname-build"
41 # quick workaround to allow build
42 sed -i "s/AC_CONFIG_MACRO_DIR.*//" configure.in.in
43 ./autogen.sh --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
44 --localstatedir=/var --disable-debug
48 cd "$srcdir/$_gitname-build"
49 make DESTDIR=${startdir}/pkg install