# -*- sh -*- # Contributor: # Maintainer: Sébastien Gross pkgname=squashfs-tools-ng pkgver=1.0.4 pkgrel=0 pkgdesc="New set of tools for working with SquashFS images." url="https://github.com/AgentD/squashfs-tools-ng" arch="all" license="GPL3" depends="squashfs-tools" makedepends="autoconf automake libtool m4 make gcc doxygen lzo-dev zstd-dev lz4-dev xz-dev zlib-dev libselinux-dev" install="" subpackages="$pkgname-static $pkgname-dev $pkgname-doc" source="https://github.com/AgentD/squashfs-tools-ng/archive/v$pkgver/$pkgname-$pkgver.tar.gz" build() { cd "$builddir" ./autogen.sh ./configure --prefix=/usr make make doxygen-doc } check() { cd "$builddir" make check } package() { cd "$builddir" make -j1 DESTDIR="$pkgdir" install } doc() { cd "$builddir" pkgdesc="$pkgname documemtation" default_doc install -d "$subpkgdir/usr/share/doc/$pkgname" cp -a doxygen-doc/* "$subpkgdir/usr/share/doc/$pkgname" } sha512sums="3c9f3bea73becaf026bfe22fdc5da28de05d7b5fa7e17230a74f7cc9d08efefda59c004113b6d1aaa59d0e586fc379bc6d0f6e178ddab794bfe9c5966602204c squashfs-tools-ng-1.0.4.tar.gz"