summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f9cab9c1be5090ed8867d14ee5f9df5c93cc48c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $Id: PKGBUILD 203202 2014-01-05 10:51:18Z bpiotrowski $
# Maintainer: Nikos Fytilis <n-fit@live.com>
# Repo Maintainer: Daniel Isenmann <daniel@archlinux.org>
# Contributor: Carlos Ruiz <cailovirtual@gmail.com>

_pkgbase=taglib-sharp
pkgname=$_pkgbase-git
pkgver=2.1.0.0.r90.gceda04a
pkgrel=2
pkgdesc="Library for reading and writing metadata in media files for Mono - source from git for working opus files"
arch=('i686' 'x86_64')
url="https://github.com/mono/taglib-sharp"
license=('LGPL2.1')
depends=('mono')
conflicts=(taglib-sharp)
provides=("taglib-sharp=${pkgver%%.r*}")
source=(git+https://github.com/mono/taglib-sharp.git)
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/$_pkgbase"
  git describe --long | sed 's/^taglib-sharp-//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "$srcdir/$_pkgbase"
  ./autogen.sh --prefix=/usr --disable-docs
  make
}

package() {
  cd "$srcdir/$_pkgbase"
  make DESTDIR=${pkgdir} install
}