summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorCharlotte Van Petegem2019-04-27 12:48:53 +0200
committerCharlotte Van Petegem2019-04-27 12:48:53 +0200
commit71434f5b40affb352bd9f8659b4b089f341aaf08 (patch)
treea37b7f228d4e43c61ee4dc848f2212498b08314f /PKGBUILD
downloadaur-71434f5b40affb352bd9f8659b4b089f341aaf08.tar.gz
Initial commit
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
+}