aboutsummaryrefslogtreecommitdiffstats
path: root/community/zsh-autosuggestions/APKBUILD
blob: 0654b99ac53c3b344078550d256596533988a476 (plain) (blame)
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.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="67aae94211e6666d3a0f539509142d94b03ceb3d171e92b26fbf1a5a86185af515af07b9c244e258da321f1116624e6ed85eb77df73bd89e76246d415a18852b  zsh-autosuggestions-0.4.2.tar.gz"