summaryrefslogtreecommitdiff
path: root/pcr/command-not-found/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/command-not-found/PKGBUILD')
-rw-r--r--pcr/command-not-found/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/pcr/command-not-found/PKGBUILD b/pcr/command-not-found/PKGBUILD
new file mode 100644
index 000000000..e2131a3d5
--- /dev/null
+++ b/pcr/command-not-found/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Aurelien Desbrieres <aurelien@cwb.io>
+# Contributor: Diogo Leal <estranho@diogoleal.com>
+# Contributor: Luke Shumaker <lukeshu@sbcglobal.net>
+# 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=('GPL3')
+depends=('boost-libs' 'tdb' 'libarchive' 'wget')
+makedepends=('boost' 'cmake')
+install='install'
+
+source=("libre://$pkgname-$pkgver.tar.gz")
+mksource=("$pkgname-$pkgver::git+https://github.com/metti/$pkgname.git#tag=v${pkgver}")
+mkmd5sums=('SKIP')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX="" src
+ make
+}
+
+package(){
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums=('c055522251b2c58b9c6e0d0f0df481c0')