1 # Maintainer: TDY <tdy@gmx.com>
6 pkgdesc="A lightweight, modular, and stylish editor"
8 url="http://www.nongnu.org/beaver/"
10 depends=('gtk2>=2.10.0' 'hicolor-icon-theme')
11 makedepends=('git' 'intltool>=0.40.0' 'pkgconfig>=0.9.0')
15 install=beaver.install
17 _gitroot=git://beaver-editor.git.sourceforge.net/gitroot/beaver-editor
18 _gitname=beaver-editor
23 msg "Connecting to $_gitroot..."
24 if [[ -d $_gitname ]]; then
25 cd $_gitname && git pull origin
26 msg2 "Local files updated"
28 git clone $_gitroot/$_gitname
29 msg2 "GIT checkout done"
32 rm -rf "$srcdir/$_gitname-build"
33 cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
34 cd "$srcdir/$_gitname-build"
36 msg "Starting make..."
37 ./autogen.sh && ./configure --prefix=/usr
42 cd "$srcdir/$_gitname-build"
43 make prefix="$pkgdir/usr" install