updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / ding-libs-git / PKGBUILD
blobf0663932a2bc5e34258b2ea814d4a5b8a848e44b
1 # Maintainer: Mantas M. <grawity@gmail.com>
2 pkgname=ding-libs-git
3 pkgver=20110801
4 pkgrel=1
5 pkgdesc="'D is not GLib' utility libraries"
6 arch=('i686' 'x86_64')
7 url="http://git.fedorahosted.org/ding-libs.git"
8 license=('GPL3')
9 depends=()
10 makedepends=('doxygen' 'git')
11 provides=('ding-libs')
12 conflicts=('ding-libs')
14 _gitroot="git://git.fedorahosted.org/ding-libs.git"
15 _gitname="ding-libs"
17 build() {
18   cd "$srcdir"
19   msg "Updating from $_gitroot"
21   if [ -d $_gitname ] ; then
22     cd $_gitname && git pull origin
23   else
24     git clone $_gitroot $_gitname
25   fi
27   msg "Starting make..."
29   rm -rf "$srcdir/$_gitname-build"
30   git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
31   cd "$srcdir/$_gitname-build"
33   autoreconf -i -f
34   ./configure \
35     --prefix=/usr
36   make
39 package() {
40   cd "$srcdir/$_gitname-build"
41   make DESTDIR="$pkgdir/" install
42
44 # vim: ts=2:sw=2:et