summaryrefslogtreecommitdiff
path: root/pcr/command-not-found/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-07-22 22:08:42 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-07-22 22:08:42 -0600
commit8491f6ded87cb9e7c5bfe81e51077ae77dbb9476 (patch)
tree18ef4c449100bf8d37c19df51082666bd5fd7a86 /pcr/command-not-found/PKGBUILD
parentcf97cef4d6c143fbf5f47d42e57cc13a43647a1b (diff)
downloadabslibre-8491f6ded87cb9e7c5bfe81e51077ae77dbb9476.tar.gz
abslibre-8491f6ded87cb9e7c5bfe81e51077ae77dbb9476.tar.bz2
abslibre-8491f6ded87cb9e7c5bfe81e51077ae77dbb9476.zip
update pcr/command-not-found
Diffstat (limited to 'pcr/command-not-found/PKGBUILD')
-rw-r--r--pcr/command-not-found/PKGBUILD47
1 files changed, 16 insertions, 31 deletions
diff --git a/pcr/command-not-found/PKGBUILD b/pcr/command-not-found/PKGBUILD
index d43b73c0e..e2131a3d5 100644
--- a/pcr/command-not-found/PKGBUILD
+++ b/pcr/command-not-found/PKGBUILD
@@ -1,47 +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>
-# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>
pkgname=command-not-found
-pkgver=0.4.4
+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')
+license=('GPL3')
depends=('boost-libs' 'tdb' 'libarchive' 'wget')
-makedepends=('boost' 'tdb' 'cmake' 'git')
-source=('install')
-md5sums=('2ea3c216fb0b7f8449f0225ece33210c')
+makedepends=('boost' 'cmake')
install='install'
-_gitrepo="https://github.com/metti/$pkgname.git"
+source=("libre://$pkgname-$pkgver.tar.gz")
+mksource=("$pkgname-$pkgver::git+https://github.com/metti/$pkgname.git#tag=v${pkgver}")
+mkmd5sums=('SKIP')
build() {
- cd $srcdir
- msg "Connecting to the GIT server ..."
-
- if [[ -d $srcdir/$pkgname ]] ; then
- cd $pkgname
- git fetch origin
- else
- git clone $_gitrepo
- cd $pkgname
- fi
-
- git checkout v$pkgver
-
- msg "GIT checkout done"
-
- mkdir -p $srcdir/build
- cd $srcdir/build
-
- cmake -D CMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="" $srcdir/$pkgname/src
- make
-
+ cd "$srcdir/$pkgname-$pkgver"
+ cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX="" src
+ make
}
package(){
- cd $srcdir/build
-
- make DESTDIR=$pkgdir install
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
}
+
+md5sums=('c055522251b2c58b9c6e0d0f0df481c0')