# Maintainer: David Oberhollenzer pkgname=('squashfs-tools-ng' 'squashfs-tools-ng-doc') pkgver=1.1.2 pkgrel=1 epoch= pkgdesc='A new set of tools and libraries for working with SquashFS images' url='https://infraroot.at/projects/squashfs-tools-ng/index.html' arch=('x86_64') license=('GPL3' 'LGPL3') depends=('lzo' 'lz4' 'xz' 'zstd' 'zlib' 'attr' 'bzip2') source=(https://infraroot.at/pub/squashfs/${pkgname}-${pkgver}.tar.xz{,.asc}) sha512sums=('3f66cd9034997104e2d3281e271e8ccfbdd6ecaa98313636dcfd5251717e173ceede27b4a94342b011707fc1e96884ec733423f978697c6420915d96c153cf3e' 'SKIP' ) validpgpkeys=('13063F723C9E584AEACD5B9BBCE5DC3C741A02D1') groups=() makedepends=( 'fakeroot' 'binutils' 'autoconf' 'automake' 'autogen' 'libtool' 'pkgconf' 'm4' 'make' 'gcc' 'doxygen') # checkdepends=() optdepends=('squashfs-tools') provides=() conflicts=() replaces=() backup=() options=() install= changelog= noextract=() prepare() { cd "$pkgname-$pkgver" } build() { cd "$pkgname-$pkgver" ./configure --prefix=/usr make make doxygen-doc } check() { cd "$pkgname-$pkgver" make -k check } package_squashfs-tools-ng() { #depends=('zstd' 'attr' 'zlib' 'xz' 'lzo' 'bzip2' ) cd "$pkgname-$pkgver" make DESTDIR="$pkgdir/" install } package_squashfs-tools-ng-doc() { arch=('any') optdepend=() depends=() cd "$pkgbase-$pkgver" install -d "$pkgdir/usr/share/doc/$pkgbase" cp -a doxygen-doc/* "$pkgdir/usr/share/doc/$pkgbase" }