summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d247f2ea26523ea32a1d97c78b5ca387f1b6e9f9 (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
# Maintainer: Andy Alt <andy400-dev at yahoo dot com>

pkgname=canfigger
pkgver=0.1.1
pkgrel=1
pkgdesc="simple configuration file parser library"
arch=('i686' 'x86_64' 'aarch64' 'armv7h' 'ppc64le')
url="https://github.com/andy5995/canfigger"
license=('GPL3')
depends=('glibc')
makedepends=('meson' 'ninja')
provides=('canfigger' 'libcanfigger.so')
options=('staticlibs')

source=("https://github.com/andy5995/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz")
sha256sums=('e497111b96d8c66f105cdec9382a48fe73f9c87d7e653b29a7e5c8658ef239e7')

build() {
  arch-meson $pkgname-$pkgver build
  meson compile -C build
}

package() {
  DESTDIR="$pkgdir" meson install -C build
}