1
0
forked from ports/contrib

ddgr: Initial import

This commit is contained in:
Predrag Ivanović 2018-09-17 14:30:13 +02:00
parent 56aa4bad9b
commit 54b3f239aa
3 changed files with 39 additions and 0 deletions

13
ddgr/.footprint Normal file
View File

@ -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

5
ddgr/.signature Normal file
View File

@ -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

21
ddgr/Pkgfile Normal file
View File

@ -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
}