summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..103c079fe91
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Charlotte Van Petegem <charlotte@vanpetegem.me>
+
+pkgname=taglib-git
+pkgver=v1.11.1.r152.6455671e
+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 boost)
+source=("git+https://github.com/taglib/taglib.git")
+conflicts=('taglib')
+provides=('taglib=1.11.1')
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/taglib"
+ git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g'
+}
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake $srcdir/taglib \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_SHARED_LIBS=ON \
+ -DWITH_MP4=ON \
+ -DWITH_ASF=ON \
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}