# Maintainer: PktSurf app=lz4 version=1.9.2 build=1sml homepage="https://github.com/lz4/lz4" download="https://github.com/lz4/lz4/archive/refs/tags/v$version.tar.gz" desc="lossless compression algorithm" requires="musl" prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions } build() { make -j1 \ CFLAGS="$CFLAGS" \ PREFIX=/usr \ BUILD_STATIC=no \ DESTDIR=$pkg default install cp LICENSE $pkgdocs/ mkfinalpkg } sha512sums=" b625dae04477982f89defce6e9a9c480d65a6814508d2d216ba8a23641bc2d95663d332c96bb5422af63501a35e012f06860cfcfe328f9a12e02ff84b8e4181a lz4-1.9.2.tar.lz "