summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2e02948b0f57a8b2b39ea5abe5a2e5a3520aafaa (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
27
28
# Maintainer: Sumner Evans <sumner.evans98 at gmail dot com>

pkgbase='zsh-you-should-use'
pkgname=('zsh-you-should-use')
_module='zsh-you-should-use'
pkgver='1.7.3'
pkgrel=1
pkgdesc='ZSH plugin that reminds you to use existing aliases for commands you just typed'
url='https://github.com/MichaelAquilina/zsh-you-should-use'
depends=(
)
makedepends=()
arch=('any')
license=('GPL3')
source=('https://github.com/MichaelAquilina/zsh-you-should-use/archive/1.7.3.tar.gz')
install="${pkgname}.install"
sha256sums=('db4486cd12974332ec858d446aff9393dae6be430d425a56d7036d2ce4edeb9e')


package() {
    install -d "${pkgdir}/usr/share/zsh/plugins/${pkgname}"
    install -Dm644 "${srcdir}/${pkgname}-${pkgver}/you-should-use.plugin.zsh" \
        "${pkgdir}/usr/share/zsh/plugins/${pkgname}"

    # License
    install -Dm644 "${srcdir}/${pkgname}-${pkgver}/LICENSE" \
        "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}