summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7e5d9b719cf299fe47b13d6305017e07f289a5f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Byeonghoon Yoo <bh322yoo@gmail.com>

_name='alias-tips'

pkgname="${_name}-git"
pkgver=r109.45e4e97
pkgrel=1
pkgdesc='An oh-my-zsh plugin to help remembering those aliases you defined once'
arch=('any')
license=('unknown')
url='https://github.com/djui/alias-tips'
depends=('zsh')
makedepends=('git')
source=("${_name}::git+https://github.com/djui/alias-tips")
sha512sums=('SKIP')

pkgver() {
	cd "${_name}"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
	cd "${srcdir}/${_name}"
	install -d "${pkgdir}/usr/share/zsh/plugins/${_name}"
	cp -a --no-preserve=ownership *.py *.zsh "${pkgdir}/usr/share/zsh/plugins/${_name}"
}