aboutsummaryrefslogtreecommitdiffstats
path: root/main/taglib/APKBUILD
blob: 42a6cca2dce08ba344241ebb869256c468505a89 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=taglib
pkgver=1.6.3
pkgrel=1
pkgdesc="library for reading and editing the meta-data of several popular audio formats."
url="http://ktown.kde.org/~wheeler/taglib.html"
arch="all"
license="GPL2"
makedepends="zlib-dev cmake"
depends=
source="http://ktown.kde.org/~wheeler/files/src/$pkgname-$pkgver.tar.gz"
subpackages="$pkgname-dev"

build ()
{
	cd "$srcdir"/$pkgname-$pkgver
	cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
	make VERBOSE=1 || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="ddf02f4e1d2dc30f76734df806e613eb  taglib-1.6.3.tar.gz"