summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 27622557f5aa75b6ec6349e7ccb601a8bcddcffc (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
29
30
31
32
33
34
35
36
37
38
# $Id$
# Maintainer: Fernando Fernandez <fernando@softwareperonista.com.ar>

_project_name=pace
pkgname=${_project_name}-cli
pkgver=1.4.1
pkgrel=1
pkgdesc='A simple pacman.conf CLI editor'
arch=('x86_64')
license=('GPL3')
url='https://gitlab.com/tarmaciltur/pace'
depends=('glib2')
makedepends=('meson' 'vala' 'git' 'polkit')
optdepends=('polkit')
conflicts=('pace')
provides=('pace')
source=("https://gitlab.com/tarmaciltur/${_project_name}/-/archive/${pkgver}/${_project_name}-${pkgver}.tar.gz")
sha256sums=('69af3b5f70c6f4d4fed96da2fe2365285171785025e34ff564965802be23bcde')

build() {
  cd ${_project_name}-${pkgver}

  arch-meson . build --wrap-mode=nofallback -Dgui=false

  ninja -C build
}

check () {
  cd ${_project_name}-${pkgver}

  ninja -C build test
}

package() {
  cd ${_project_name}-${pkgver}

  DESTDIR="$pkgdir" ninja -C build install
}