blob: 67c99ab5bef83b571b4aa4521922edac73664bf6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer (Arch): Bernhard Landauer <oberon@manjaro.org>
# Contributor (Arch): Matthias Maennich <arch@maennich.net>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
# Contributor: Luke Shumaker <lukeshu@sbcglobal.net>
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
}
|