aboutsummaryrefslogtreecommitdiffstats
path: root/testing/zsh-autosuggestions/APKBUILD
blob: d1c3f7cc5cf0a63967a1556f7c4ab077b7c461bb (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.4.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="8404c8a0c342713620c4b0d1ad6676f891c9f7c0eb316f559b03f66fbb4349d4e2f10b625381bb026e78289a8f05a3c9d5ee102db25a4c6ea3191b854de24194  zsh-autosuggestions-0.4.0.tar.gz"