summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: db7e93ec6c710594b581d18f1c77b0a2a6cc17c3 (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.1.0'
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.1.0.tar.gz')
install="${pkgname}.install"
sha256sums=('c858f62e014ea5d6a9483ba97eeaf18c31c11e3e8b3b4f8e5d4182ce46eb9188')


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"
}