# Maintainer (Arch): Bernhard Landauer # Contributor (Arch): Matthias Maennich # Maintainer: Omar Vega Ramos # Contributor: Luke Shumaker pkgname=command-not-found pkgver=0.6.1 pkgrel=2 pkgdesc="In case a command could not be found this utility searches for packages containing this or a similar command (bash,zsh)." arch=('i686' 'x86_64') url="https://github.com/metti/$pkgname" license=('GPL3') depends=('boost-libs' 'libarchive' 'tdb' 'wget') makedepends=('boost' 'cmake' 'git') install=$pkgname.install source=("$url/archive/v$pkgver.tar.gz") sha256sums=('881bde20d00bc1538372b3394beadee0b68a8d4be7d199b1f94e046f47e5d81e') build() { cd $pkgname-$pkgver cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX="" \ src make } package(){ cd $pkgname-$pkgver make DESTDIR="$pkgdir" install }