diff options
| author | Rasmus Thomsen <oss@cogitri.dev> | 2020-03-01 23:26:33 +0100 |
|---|---|---|
| committer | Leo <thinkabit.ukim@gmail.com> | 2020-03-02 01:32:19 -0300 |
| commit | b8403f49e8d63ad45bdc9947828ceb22ea03e63f (patch) | |
| tree | d78d6bce1b2ca03d05847dc486e938778afef464 /community/wgetpaste | |
| parent | 078463e54cee872a434f8b061c2eeec695e800c0 (diff) | |
| download | aports-b8403f49e8d63ad45bdc9947828ceb22ea03e63f.tar.bz2 aports-b8403f49e8d63ad45bdc9947828ceb22ea03e63f.tar.xz | |
community/wgetpaste: move from testing
Diffstat (limited to 'community/wgetpaste')
| -rw-r--r-- | community/wgetpaste/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/community/wgetpaste/APKBUILD b/community/wgetpaste/APKBUILD new file mode 100644 index 0000000000..c68c479a0a --- /dev/null +++ b/community/wgetpaste/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Rasmus Thomsen <oss@cogitri.dev> +# Maintainer: Rasmus Thomsen <oss@cogitri.dev> +pkgname=wgetpaste +pkgver=2.29 +pkgrel=0 +pkgdesc="Command-line interface to various pastebins" +url="http://wgetpaste.zlin.dk/" +arch="noarch" +license="MIT" +depends="wget" +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="02e4a80d16354d42472d1b2189efd0847cf592ae4bea08969b9aae12731983e172add8e3c0d4ab9df3306bdad0aa7603058ba0411be8ec61d122c7ebbd0611d7 wgetpaste-2.29.tar.gz" |
