opt/libid3tag/Pkgfile

23 lines
632 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: ID3 tag manipulation library
2023-05-28 10:23:51 +02:00
# URL: https://codeberg.org/tenacityteam/libid3tag
2021-01-31 18:33:35 +01:00
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: zlib cmake
2006-02-23 16:26:10 +01:00
name=libid3tag
2022-05-06 15:58:41 +02:00
version=0.16.2
2006-02-23 16:26:10 +01:00
release=1
2023-05-28 10:23:51 +02:00
source=(https://codeberg.org/tenacityteam/libid3tag/archive/$version.tar.gz)
renames=($name-$version.tar.gz)
2006-02-23 16:26:10 +01:00
build() {
2023-05-28 10:23:51 +02:00
cmake -S $name -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
2006-02-23 16:26:10 +01:00
}