pacolog/PKGBUILD

36 lines
893 B
Text
Raw Permalink Normal View History

# Maintainer: Christian Schendel <doppelhelix@gmail.com>
# Contributor: Rhinoceros <https://aur.archlinux.org/account/rhinoceros>
pkgname=pacolog
pkgver=2.2.1
pkgrel=3
pkgdesc='List recent commits for Arch Linux packages'
url='https://gitlab.com/protist/pacolog'
arch=('any')
license=(
GPL-3.0-only
)
depends=(
bash
w3m
)
makedepends=(
git
)
source=(
"$pkgname-$pkgver::git+$url.git#tag=v$pkgver"
)
b2sums=('1e69d9068a71d3182e01f5c892ce8e35b3447b9fa398603299411e5446aeda1bb7ea48d4ea9ebc40e285af941a727ffb759010079852a935f1425101bf3a4f37')
package() {
cd "$pkgname-$pkgver"
install -Dm0755 ${pkgname} "$pkgdir/usr/bin/${pkgname}"
install -Dm0644 completion/bash \
"${pkgdir}/usr/share/bash-completion/completions/pacolog"
install -Dm0644 completion/zsh \
"${pkgdir}/usr/share/zsh/site-functions/_pacolog"
}
# vim: set ft=sh ts=4 sw=4 et: