diff options
author | Byeonghoon Yoo | 2018-08-03 15:18:53 +0900 |
---|---|---|
committer | Byeonghoon Yoo | 2018-08-03 15:18:53 +0900 |
commit | 65fac434e1ac4bbacb56634dc5fc6c7bf8ceeafc (patch) | |
tree | 8a5b6dd83c59737eddd7f83a101271d26d7dd967 | |
download | aur-65fac434e1ac4bbacb56634dc5fc6c7bf8ceeafc.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5c143b88a128 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = alias-tips-git + pkgdesc = An oh-my-zsh plugin to help remembering those aliases you defined once + pkgver = r97.77c7aa2 + pkgrel = 1 + url = https://github.com/djui/alias-tips + arch = any + license = unknown + makedepends = git + depends = zsh + source = alias-tips::git://github.com/djui/alias-tips + sha512sums = SKIP + +pkgname = alias-tips-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9480205a800e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Byeonghoon Yoo <bh322yoo@gmail.com> + +_name='alias-tips' + +pkgname="${_name}-git" +pkgver=r97.77c7aa2 +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}::${url//https/git}") +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}" +} |