blob: e02bd17d7e8841674305dcff876d4305bd10a5c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=wgetpaste
pkgver=2.32
pkgrel=0
pkgdesc="Command-line interface to various pastebins"
url="http://wgetpaste.zlin.dk/"
arch="noarch"
license="MIT"
depends="wget bash"
options="!check" # no tests
subpackages="$pkgname-zsh-completion:zsh:noarch"
source="$pkgname-$pkgver.tar.gz::https://github.com/zlin/wgetpaste/archive/$pkgver.tar.gz"
package() {
install -Dm755 wgetpaste "$pkgdir"/usr/bin/wgetpaste
install -Dm644 _wgetpaste "$pkgdir"/usr/share/zsh/site-functions/_wgetpaste
}
zsh() {
pkgdesc="Zsh completion for wgetpaste"
install_if="$pkgname=$pkgver-r$pkgrel zsh"
mkdir -p "$subpkgdir"/usr/share/zsh/site-functions
mv "$pkgdir"/usr/share/zsh/site-functions/* \
"$subpkgdir"/usr/share/zsh/site-functions
}
sha512sums="
57f6194c864adf3eabffe46163d1c83a5c2c30affc4c353fee5cafe6aaf19cfa306e134cb5dd216577eb34cc93eee66b28297e5a1d4fa92d78d38597170d40bb wgetpaste-2.32.tar.gz
"
|