summaryrefslogtreecommitdiff
path: root/libcue/Pkgfile
blob: 28e113da0717cc31e3211d2e766d576bb004d345 (plain)
    1 # Description: CUE Sheet Parser Library
    2 # URL: https://github.com/lipnitsk/libcue/
    3 # Maintainer: Danny Rawlins, crux at romster dot me
    4 
    5 name=libcue
    6 version=2.2.1
    7 release=2
    8 source=(https://github.com/lipnitsk/libcue/archive/v$version/$name-$version.tar.gz)
    9 
   10 build() {
   11 	cmake -S $name-$version -B build -G Ninja $PKGMK_DOXYGEN \
   12 		-D CMAKE_INSTALL_PREFIX=/usr \
   13 		-D CMAKE_INSTALL_LIBDIR=lib \
   14 		-D CMAKE_BUILD_TYPE=Release \
   15 		-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
   16 		-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
   17 		-Wno-dev
   18 	cmake --build build
   19 	DESTDIR=$PKG cmake --install build
   20 }

Generated by cgit