blob: b3886685c92fb8848cd9016aa84c202f866d96bc (
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
|
pkgname=yup
_pkgname=yup
pkgver="1.1.8"
_pkgver="1.1.8"
pkgrel=3
pkgdesc="Arch Linux AUR Helper with ncurses functionality and better searching and sorting"
arch=('any')
url="https://github.com/ericm/yup"
license=('GPL3')
source=("${_pkgname}::git+https://github.com/ericm/yup.git#tag=v${_pkgver}")
sha256sums=('SKIP')
depends=('pacman>=5.1' 'git' 'ncurses' 'sudo')
makedepends=('go>=1.12' 'make' 'pkgconf' 'gcc')
prepare() {
cd "${_pkgname}"
make
}
package() {
install -dm755 ${pkgdir}/usr/bin/${BINAME}
install -dm755 ${pkgdir}/usr/share/zsh/site-functions/_yup
cd "${_pkgname}"
cp ${_pkgname} ${pkgdir}/usr/bin/${BINAME}
cp completions/zsh ${pkgdir}/usr/share/zsh/site-functions/_yup
}
|