# Contributor: Camille Scholtz # Maintainer: Camille Scholtz pkgname=atool pkgver=0.39.0 pkgrel=3 pkgdesc="a Perl script for managing file archives of various types" options="!check" # No testsuite url="https://nongnu.org/atool/" arch="noarch" license="GPL-3.0-or-later" depends="perl" subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp:noarch" source="https://savannah.nongnu.org/download/$pkgname/$pkgname-$pkgver.tar.gz" build() { ./configure --prefix=/usr } package() { make DESTDIR="$pkgdir" install } bashcomp() { depends="" pkgdesc="Bash completions for $pkgname" install_if="$pkgname=$pkgver-r$pkgrel bash-completion" install -Dm644 "$builddir"/extra/bash-completion-atool_0.1-1 \ "$subpkgdir"/usr/share/bash-completion/completions/atool } sha512sums="2011c13f510a140e71d26f9eac60d07f2cb9004dc278303fd37c5c7f78a6a2366ad9193e7b4e015d9fba8218c59205a6339189ae4775b0afc42328f9607524d3 atool-0.39.0.tar.gz"