1 # Maintainer: Tom Vincent <http://www.tlvince.com/contact/>
5 pkgdesc="sprop is a simple X property utility"
7 url="http://tools.suckless.org/sprop"
9 makedepends=('mercurial')
11 _hgroot="http://hg.suckless.org/"
16 msg "Connecting to Mercurial server...."
18 if [ -d $_hgrepo ] ; then
21 msg "The local files are updated."
23 hg clone $_hgroot $_hgrepo
26 msg "Mercurial checkout done or server timeout"
27 msg "Starting make..."
29 rm -rf "$srcdir/$_hgrepo-build"
30 cp -r "$srcdir/$_hgrepo" "$srcdir/$_hgrepo-build"
31 cd "$srcdir/$_hgrepo-build"
33 make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
37 cd "$srcdir/$_hgrepo-build"
38 make PREFIX="/usr" DESTDIR="$pkgdir/" install