1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: Tom Gundersen <teg@jklm.no>
3 # Contributor: Ike Devolder <ike.devolder@gmail.com>
4 # Contributor: Andrea Scarpino <andrea@archlinux.org>
5 # Contributor: Tobias Powalowski <tpowa@archlinux.org>
10 pkgdesc='A Library for reading and editing the meta-data of several popular audio formats'
12 url='https://taglib.github.io/'
16 checkdepends=(cppunit)
17 source=(https://taglib.github.io/releases/$pkgname-$pkgver.tar.gz)
18 sha256sums=('58f08b4db3dc31ed152c04896ee9172d22052bc7ef12888028c01d8b1d60ade0')
21 cmake -B build -S $pkgname-$pkgver \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DBUILD_SHARED_LIBS=ON \
24 -DCMAKE_CXX_FLAGS="$CXXFLAGS -DNDEBUG"
29 cmake --build build --target test
33 DESTDIR="$pkgdir" cmake --install build