summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Arias2018-05-06 15:17:17 +0200
committerPablo Arias2018-05-06 15:17:17 +0200
commit0fab3967d2dacd107961dc79b79899343ddb28aa (patch)
treeeb07370541bba69e3ecd7a2b3fcee1cba9dee832
parent2ed343e4d022faa10204719090ea2e2900f05fb8 (diff)
downloadaur-0fab3967d2dacd107961dc79b79899343ddb28aa.tar.gz
* Upgraded to version 1.4
* Started using provided makefile
-rw-r--r--.SRCINFO8
-rw-r--r--[-rwxr-xr-x]PKGBUILD11
2 files changed, 9 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7a7c3063e68..aaeef5bbd46 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,14 @@
-# Generated by mksrcinfo v8
-# Fri Dec 8 19:11:11 UTC 2017
pkgbase = ddgr
pkgdesc = DuckDuckGo from the terminal
- pkgver = 1.2
+ pkgver = 1.4
pkgrel = 1
url = https://github.com/jarun/ddgr
arch = any
license = GPL3
depends = python
conflicts = ddgr-git
- source = https://github.com/jarun/ddgr/archive/v1.2.tar.gz
- md5sums = 4169e233953df63931e441c06d0ebe25
+ source = https://github.com/jarun/ddgr/archive/v1.4.tar.gz
+ sha256sums = 045063b4d7262992a7ea3cd9fe9715a199318828de82073f54c42631d3ef41b7
pkgname = ddgr
diff --git a/PKGBUILD b/PKGBUILD
index 7816d431ab0..f51fb489c49 100755..100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,8 @@
-# Maintainer: John Jenkins <twodopeshaggy@gmail.com>
+# Maintainer: Pablo Arias <pabloariasal@gmail.com>
+# Contributor: John Jenkins <twodopeshaggy@gmail.com>
pkgname=ddgr
-pkgver=1.2
+pkgver=1.4
pkgrel=1
pkgdesc="DuckDuckGo from the terminal"
arch=('any')
@@ -10,12 +11,12 @@ license=('GPL3')
depends=('python')
conflicts=('ddgr-git')
source=("https://github.com/jarun/ddgr/archive/v$pkgver.tar.gz")
-md5sums=('4169e233953df63931e441c06d0ebe25')
+sha256sums=('045063b4d7262992a7ea3cd9fe9715a199318828de82073f54c42631d3ef41b7')
package() {
+ make -C "${pkgname}-${pkgver}" DESTDIR="${pkgdir}" PREFIX="/usr" install
+
cd "$srcdir/$pkgname-$pkgver"
- install -Dm755 ddgr "${pkgdir}/usr/bin/ddgr"
- install -Dm644 ddgr.1 "${pkgdir}/usr/share/man/man1/ddgr.1"
install -Dm644 auto-completion/fish/ddgr.fish "${pkgdir}/usr/share/fish/vendor_completions.d/ddgr.fish"
install -Dm644 auto-completion/bash/ddgr-completion.bash "${pkgdir}/etc/bash_completion.d/ddgr"
install -Dm644 auto-completion/zsh/_ddgr "${pkgdir}/usr/share/zsh/site-functions/_ddgr"