summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ab6eb1ff667dc9fa66d6b310b208e94756c15ee7 (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
pkgname=yup
_pkgname=yup
pkgver="0.1.7_beta"
_pkgver="0.1.7-beta"
pkgrel=2
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')

prepare() {
    cd "${_pkgname}"
    make
}

package() {
    install -dm755 ${pkgdir}/usr/local/bin/${BINAME}
    cd "${_pkgname}"
    cp ${_pkgname} ${pkgdir}/usr/local/bin/${BINAME}

}