Date: Sunday, February 26, 2023 @ 18:25:47
Author: antiz
Revision: 1405287
archrelease: copy trunk to community-testing-any
Added:
ddgr/repos/community-testing-any/
ddgr/repos/community-testing-any/PKGBUILD
(from rev 1405286, ddgr/trunk/PKGBUILD)
----------+
PKGBUILD | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Copied: ddgr/repos/community-testing-any/PKGBUILD (from rev 1405286,
ddgr/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2023-02-26 18:25:47 UTC (rev 1405287)
@@ -0,0 +1,24 @@
+# Maintainer: Robin Candau <[email protected]>
+# Contributor: Pablo Arias <pabloariasal[at]gmail[dot]com>
+# Contributor: John Jenkins <twodopeshaggy[at]gmail[dot]com>
+
+pkgname=ddgr
+pkgver=2.1
+pkgrel=4
+pkgdesc="DuckDuckGo from the terminal"
+arch=('any')
+url="https://github.com/jarun/ddgr"
+license=('GPL3')
+depends=('python>=3.7.0')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
+sha256sums=('fb6601ad533f2925d2d6299ab9e6dd48da0b75e99ef9ed9068f37e516380b5e6')
+
+package() {
+ cd "${pkgname}-${pkgver}"
+
+ make PREFIX=/usr DESTDIR="${pkgdir}" install
+
+ install -Dm 644 "auto-completion/fish/${pkgname}.fish"
"${pkgdir}/usr/share/fish/vendor_completions.d/${pkgname}.fish"
+ install -Dm 644 "auto-completion/bash/${pkgname}-completion.bash"
"${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
+ install -Dm 644 "auto-completion/zsh/_${pkgname}"
"${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
+}