summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 20854b689bc9fd52ea3f6ed29e3367b7fb10540f (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: Nathan Chere <aur@nathanchere.com.au>
pkgname=pacmate
pkgver=1.2.1
pkgrel=1
pkgdesc="Interactive terminal UI wrapper for pacman"
arch=('x86_64')
url="https://gitlab.com/nathanchere/pacmate"
license=('Apache-2.0')
depends=('pacman')
makedepends=('go' 'git' 'make')
optdepends=('sudo: default privilege escalation helper')
source=("pacmate::git+https://gitlab.com/nathanchere/pacmate.git#tag=v${pkgver}")
sha256sums=('SKIP')

build() {
    cd "${srcdir}/pacmate"
    make build
}

check() {
    cd "${srcdir}/pacmate"
    make test
}

package() {
    cd "${srcdir}/pacmate"
    make DESTDIR="${pkgdir}" install
}