Date: Thursday, October 27, 2022 @ 06:18:57
Author: arojas
Revision: 459360
archrelease: copy trunk to testing-x86_64
Added:
taglib/repos/testing-x86_64/
taglib/repos/testing-x86_64/PKGBUILD
(from rev 459359, taglib/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: taglib/repos/testing-x86_64/PKGBUILD (from rev 459359,
taglib/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2022-10-27 06:18:57 UTC (rev 459360)
@@ -0,0 +1,34 @@
+# Maintainer: Antonio Rojas <[email protected]>
+# Contributor: Tom Gundersen <[email protected]>
+# Contributor: Ike Devolder <[email protected]>
+# Contributor: Andrea Scarpino <[email protected]>
+# Contributor: Tobias Powalowski <[email protected]>
+
+pkgname=taglib
+pkgver=1.13
+pkgrel=1
+pkgdesc='A Library for reading and editing the meta-data of several popular
audio formats'
+arch=(x86_64)
+url='https://taglib.github.io/'
+license=(LGPL MPL)
+depends=(zlib)
+makedepends=(cmake)
+checkdepends=(cppunit)
+source=(https://taglib.github.io/releases/$pkgname-$pkgver.tar.gz)
+sha256sums=('58f08b4db3dc31ed152c04896ee9172d22052bc7ef12888028c01d8b1d60ade0')
+
+build() {
+ cmake -B build -S $pkgname-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_SHARED_LIBS=ON \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS -DNDEBUG"
+ cmake --build build
+}
+
+check() {
+ cmake --build build --target test
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}