ddgr: updated footprint

This commit is contained in:
Tim Biermann 2022-01-03 14:40:59 +01:00
parent 0cfaa525b1
commit 840e10df47
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 8 additions and 12 deletions

View File

@ -1,6 +1,3 @@
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

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3yhA2CeXsUI8h4i3sI217No4cFFQe9Vn4E0Jq/qDwYXoCbq6aEAF1e3JG0HfPEA+jpqDkIxGh4cGGT+/lboS/Ao=
SHA256 (Pkgfile) = 793bec5864a83648456bd8f00ba2f9d5e23c125c73bc792e5770d7a1b61134a0
SHA256 (.footprint) = 2f6d1e17e43ef7cd6d1f5b2730679724a52c2deb8cc959e9b6d8013589a85a21
RWSagIOpLGJF31kcSh6lixSyVjq3okQBBP3No53XPSS0nuxqZkNQLUm+e3SnFGk0UW9rOxjrKfXrMNG9FXhfiPHbv7zrVzDHeg8=
SHA256 (Pkgfile) = 12e1a32ad3afd115190458b39eac22ec5fc13e43b191df12727c7f3cb513202a
SHA256 (.footprint) = adb8563ff65cb94cedb8d8bf094e45111cb618c22ce1298ec2414f8e7bc3d922
SHA256 (ddgr-1.9.tar.gz) = 3dfe82fab649f1cec904a1de63f78692be329a3b6928c1615f22c76f6e21c36f

View File

@ -1,21 +1,20 @@
# Description: DuckDuckGo from the terminal
# URL: https://github.com/jarun/ddgr
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3
# Depends on: python3-setuptools
# Optional: xclip
name=ddgr
version=1.9
release=1
source=(https://github.com/jarun/ddgr/archive/v"$version"/$name-$version.tar.gz)
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
prt-get isinst bash-completion && install -Dm644 auto-completion/bash/ddgr-completion.bash $PKG/etc/bash_completion.d/ddgr
prt-get isinst zsh && install -Dm644 auto-completion/zsh/_ddgr $PKG/usr/share/zsh/site-functions/_ddgr
rm -rf $PKG/usr/share/doc
}