# Maintainer: PktSurf app=libcue version=2.2.1 build=1sml homepage="https://github.com/lipnitsk/libcue/" download="https://github.com/lipnitsk/libcue/archive/refs/tags/v$version.tar.gz" desc="Library to parse and extract data from CUE sheets" requires="musl" prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions } build() { mkdir -p smbuild && cd smbuild cmake .. \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_SHARED_LIBS=ON make make install DESTDIR=$pkg cp ../LICENSE $pkgdocs/ mkfinalpkg } sha512sums=" 36a86bbff7a944666949d1f468799c8607bfa2e4f5227684dfc8928072793089db30f99163a8596af01f1909baccdc1b1f134d9cb29cb6d39b3061bacfb82f8d libcue-2.2.1.tar.lz "