archrelease: copy trunk to extra-x86_64
[arch-packages.git] / taglib / repos / extra-x86_64 / PKGBUILD
blob0e17bed2c39b1cc281ae923fb8de7e86520c5e07
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>
7 pkgname=taglib
8 pkgver=1.13
9 pkgrel=1
10 pkgdesc='A Library for reading and editing the meta-data of several popular audio formats'
11 arch=(x86_64)
12 url='https://taglib.github.io/'
13 license=(LGPL MPL)
14 depends=(zlib)
15 makedepends=(cmake)
16 checkdepends=(cppunit)
17 source=(https://taglib.github.io/releases/$pkgname-$pkgver.tar.gz)
18 sha256sums=('58f08b4db3dc31ed152c04896ee9172d22052bc7ef12888028c01d8b1d60ade0')
20 build() {
21   cmake -B build -S $pkgname-$pkgver \
22     -DCMAKE_INSTALL_PREFIX=/usr \
23     -DBUILD_SHARED_LIBS=ON \
24     -DCMAKE_CXX_FLAGS="$CXXFLAGS -DNDEBUG"
25   cmake --build build
28 check() {
29   cmake --build build --target test
32 package() {
33   DESTDIR="$pkgdir" cmake --install build