Date: Saturday, April 21, 2018 @ 20:53:46 Author: dvzrv Revision: 317271
archrelease: copy trunk to community-any Added: zsh-autosuggestions/repos/community-any/ zsh-autosuggestions/repos/community-any/PKGBUILD (from rev 317270, zsh-autosuggestions/trunk/PKGBUILD) ----------+ PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) Copied: zsh-autosuggestions/repos/community-any/PKGBUILD (from rev 317270, zsh-autosuggestions/trunk/PKGBUILD) =================================================================== --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2018-04-21 20:53:46 UTC (rev 317271) @@ -0,0 +1,27 @@ +# Maintainer: David Runge <d...@sleepmap.de> +pkgname=zsh-autosuggestions +pkgver=0.4.2 +pkgrel=2 +pkgdesc="Fish-like autosuggestions for zsh " +arch=('any') +url="https://github.com/zsh-users/zsh-autosuggestions" +license=('MIT') +depends=('zsh') +source=("$pkgname-$pkgver.tar.gz::https://github.com/zsh-users/${pkgname}/archive/v${pkgver}.tar.gz") +sha512sums=('67aae94211e6666d3a0f539509142d94b03ceb3d171e92b26fbf1a5a86185af515af07b9c244e258da321f1116624e6ed85eb77df73bd89e76246d415a18852b') + +build() { + cd "$pkgname-$pkgver" + make +} + +package() { + cd "$pkgname-$pkgver" + install -vDm 644 ${pkgname}{,.plugin}.zsh \ + -t "${pkgdir}/usr/share/zsh/plugins/${pkgname}/" + # docs + install -vDm 644 {CHANGELOG,README}.md \ + -t "${pkgdir}/usr/share/doc/${pkgname}/" + # license + install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/" +}