aboutsummaryrefslogtreecommitdiffstats
path: root/community/zsh-autosuggestions/APKBUILD
blob: 9663afdd3ed9f2b76b5f5cc6bfc0192cd1ba5421 (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.3
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="c9be728bfd4cea67cc580548bda4c1b043e275a5a6f0c2134120e7e62e4522da2eddfff4c9414b5d6f28210d2f0b0f5bf008e7275c977c81bd61194f653c922c  zsh-autosuggestions-0.4.3.tar.gz"