# Maintainer: PktSurf app=brotli version=1.0.7 build=1sml homepage="https://github.com/google/brotli" download="https://github.com/google/brotli/archive/refs/tags/v$version.tar.gz" requires="musl" desc="Lossless compression algorithm based on LZ77, Huffman coding and 2nd order context modeling" prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions ./bootstrap } build() { ./configure \ --prefix=/usr \ --disable-static make make install DESTDIR=$pkg cp LICENSE $pkgdocs/ mkfinalpkg } sha512sums=" 74c138ff3cd31185daed65666afb163279d2766d367bff9f3133252467772e47450b4b5dee9476d2cad4198d8e613739673de54648252b9d5e0887be5d87ca5d brotli-1.0.7.tar.lz "