aboutsummaryrefslogtreecommitdiffstats
path: root/community/zsh-autosuggestions/APKBUILD
blob: 1380638e48e39cc8d0946bec84ddb7381761a706 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=zsh-autosuggestions
pkgver=0.5.0
pkgrel=0
pkgdesc="Fish-like autosuggestions for Zsh"
url="https://github.com/zsh-users/zsh-autosuggestions"
arch="noarch"
license="MIT"
depends="zsh"
source="$pkgname-$pkgver.tar.gz::https://github.com/zsh-users/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

package() {
	local destdir="$pkgdir/usr/share/zsh/plugins/$pkgname"
	cd "$builddir"

	mkdir -p "$destdir"
	cp $pkgname.zsh $pkgname.plugin.zsh "$destdir"/
}

sha512sums="0b26d56bd01c6a47e9a3815a5c1210b6c967c8d182544c6c2f94c02ac8135d0306a12055f1e786c9a78c2acc0f23a7b65b51410bc46408253a46cdec8e30312a  zsh-autosuggestions-0.5.0.tar.gz"