mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-10 08:12:35 +02:00
33 lines
1016 B
Plaintext
33 lines
1016 B
Plaintext
# Contributor: dai9ah <dai9ah@protonmail.com>
|
|
# Maintainer: dai9ah <dai9ah@protonmail.com>
|
|
pkgname=ddgr
|
|
pkgver=2.1
|
|
pkgrel=1
|
|
pkgdesc="DuckDuckGo from the terminal"
|
|
url="https://github.com/jarun/ddgr"
|
|
arch="noarch"
|
|
license="GPL-3.0-or-later"
|
|
depends="python3"
|
|
subpackages="$pkgname-doc
|
|
$pkgname-bash-completion
|
|
$pkgname-fish-completion
|
|
$pkgname-zsh-completion
|
|
"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/jarun/ddgr/archive/v$pkgver.tar.gz"
|
|
options="!check" # no test suite
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" PREFIX=/usr install
|
|
|
|
install -Dm644 "$builddir"/auto-completion/bash/* \
|
|
-t "$pkgdir"/usr/share/bash-completion/completions/
|
|
install -Dm644 "$builddir"/auto-completion/fish/* \
|
|
-t "$pkgdir"/usr/share/fish/vendor_completions.d/
|
|
install -Dm644 "$builddir"/auto-completion/zsh/* \
|
|
-t "$pkgdir"/usr/share/zsh/site-functions/
|
|
}
|
|
|
|
sha512sums="
|
|
8ee2ce4bb5661d7324fe733023f4442a034cc6e247b4ed546ebb188c3218c3aff118b72d697e468d0fbad851497223dafdcd5c24a416e87ab66007ab4be5192d ddgr-2.1.tar.gz
|
|
"
|