1 # Maintainer: Matthias Maennich <arch@maennich.net>
2 pkgname=command-not-found
5 pkgdesc="In case a command could not be found this utility searches for packages containing this or a similar command (bash,zsh)."
7 url="http://github.com/metti/command-not-found"
9 depends=('boost-libs' 'tdb' 'libarchive')
10 makedepends=('boost' 'tdb' 'cmake' 'git')
12 md5sums=('2ea3c216fb0b7f8449f0225ece33210c')
15 _gitrepo="https://github.com/metti/$pkgname.git"
19 msg "Connecting to the GIT server ..."
21 if [[ -d $srcdir/$pkgname ]] ; then
31 msg "GIT checkout done"
33 mkdir -p $srcdir/build
36 cmake -D CMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="" $srcdir/$pkgname/src
44 make DESTDIR=$pkgdir install