updated on Wed Jan 11 20:01:35 UTC 2012
[aur-mirror.git] / taglib-sharp-git / PKGBUILD
blob77699d6d1b26c507391c11f6f0934a2ab4ae5e6a
1 # Maintainer: oke3 < Sekereg [at] gmx [dot] com >
3 pkgname=taglib-sharp-git
4 pkgver=20120111
5 pkgrel=1
6 pkgdesc="Free and Open Source library for the .NET 2.0 and Mono frameworks which will let you tag your software with as much or as little detail as you like without slowing you down."
7 url="http://github.com/mono/taglib-sharp"
8 arch=('any')
9 license=('LGPL2')
10 depends=('mono')
11 makedepends=('git')
12 conflicts=('taglib-sharp')
13 provides=('taglib-sharp')
15 _gitroot="git://github.com/mono/taglib-sharp.git"
16 _gitname="taglib-sharp"
18 build() {
19     cd "$srcdir"
21     msg "Connecting to GIT server...."
23     if [[ -d "$_gitname" ]]; then
24         cd "$_gitname" && git pull origin && cd "$srcdir"
25     else
26         git clone "$_gitroot" "$_gitname"
27     fi
29     msg "GIT checkout done or server timeout"
30     msg "Starting build..."
32     rm -rf "$_gitname-build"
33     git clone "$_gitname" "$_gitname-build"
34     cd "$_gitname-build"
36     ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-docs
38     make
41 package() {
42     cd "$srcdir/$_gitname-build"
44     make DESTDIR="$pkgdir" install