1 # Maintainer: Valère Monseur <valere dot monseur at ymail dot com>
6 pkgdesc="A light customizable menu application (alpha version)"
8 url="https://github.com/valr/meniou"
14 _gitroot="git://github.com/valr/meniou.git"
19 msg "Connecting to GIT server...."
21 if [ -d $_gitname ] ; then
22 cd $_gitname && git pull origin
23 msg "The local files are updated."
25 git clone $_gitroot $_gitname
28 msg "GIT checkout done or server timeout"
29 msg "Starting make..."
31 rm -rf "$srcdir/$_gitname-build"
32 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
34 cd "$srcdir/$_gitname-build"
37 ./configure --prefix=/usr
42 cd "$srcdir/$_gitname-build"
44 make DESTDIR="$pkgdir" install
45 install -D -m644 "$srcdir/$_gitname-build/COPYING" "$pkgdir/usr/share/licenses/$_gitname/COPYING"