diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e0ec61efb657 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Justin Dray <justin@dray.be> +# Contributor: Matthias Maennich <arch@maennich.net> +pkgname=command-not-found +pkgver=0.4.5 +pkgrel=1 +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="http://github.com/metti/command-not-found" +license=('GPL') +depends=('boost-libs' 'tdb' 'libarchive' 'wget') +makedepends=('boost' 'tdb' 'cmake' 'git') +md5sums=('351ea2f4a1933f408bcb657070c191a4') +install='command-not-found.install' +source=("https://github.com/metti/command-not-found/archive/v${pkgver}.zip") + +build() { + cd "$srcdir/$pkgname-$pkgver" + + cmake -D CMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="" src + make +} + +package(){ + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install +} |