commit 54b3f239aaad8b2ae08e91bd35d584f412cbebc3 Author: Predrag Ivanović <predivan@mts.rs> Date: Mon Sep 17 14:30:13 2018 +0200 ddgr: Initial import diff --git a/ddgr/.footprint b/ddgr/.footprint new file mode 100644 index 00000000..1d3d678b --- /dev/null +++ b/ddgr/.footprint @@ -0,0 +1,13 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/bash_completion.d/ +-rw-r--r-- root/root etc/bash_completion.d/ddgr +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/ddgr +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/ddgr.1.gz +drwxr-xr-x root/root usr/share/zsh/ +drwxr-xr-x root/root usr/share/zsh/site-functions/ +-rw-r--r-- root/root usr/share/zsh/site-functions/_ddgr diff --git a/ddgr/.signature b/ddgr/.signature new file mode 100644 index 00000000..8f8a622d --- /dev/null +++ b/ddgr/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF3yPeFWPPm+hmgcPIb86d13Ar+CO97YWB7ZRV3ByggSM71OClsngS0wEg+Wk0g1yieC8wzHlEb+vRr967jqUJFA8= +SHA256 (Pkgfile) = 648cdae511e95c0a761fb48569488c543d1ff421984cc321fa8d9a30a603a6d0 +SHA256 (.footprint) = ca37048b9a230c7ff4de1c04c8271bf81b25d7febe4a9a8ca38b8f4be3af1b35 +SHA256 (ddgr-1.5.tar.gz) = b442f707a2c2ead42233d3bf3a9bf919e32ab9860e20d9d39f860840c13c0392 diff --git a/ddgr/Pkgfile b/ddgr/Pkgfile new file mode 100644 index 00000000..228bacf8 --- /dev/null +++ b/ddgr/Pkgfile @@ -0,0 +1,21 @@ +# Description: DuckDuckGo from the terminal +# URL: https://github.com/jarun/ddgr +# Maintainer: Pedja, predivan at mts dot rs +# Depends on: python3 +# Optional: xclip + +name=ddgr +version=1.5 +release=2 +source=(https://github.com/jarun/ddgr/archive/v"$version"/$name-$version.tar.gz) + +build() { + cd $name-$version + make DESTDIR=$PKG PREFIX=/usr install + install -Dm644 auto-completion/bash/ddgr-completion.bash $PKG/etc/bash_completion.d/ddgr + if [ -n "$(pkginfo -i | grep '^zsh ')" ]; then + install -Dm644 auto-completion/zsh/_ddgr $PKG/usr/share/zsh/site-functions/_ddgr + fi + rm -rf $PKG/usr/share/doc +} +