aboutsummaryrefslogtreecommitdiffstats
path: root/community/zsh-autosuggestions/APKBUILD
blob: 77f252bdaa8a04e2404396fe357e03a47ea86c44 (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.2
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="a435f41c535abb5a4a1b3d6339f1555981060fffc465a610605d034e7946978eff15df1f25f901dfaec31ce5a33628589fa7e7274726c8ecf94712f270f2ca53  zsh-autosuggestions-0.5.2.tar.gz"