summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 56ba3c5be0497de7120db7c986325a120ed8051b (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
# Maintainer: marzeq <marzeqmarzeq at gmail dot com>

pkgname=mconf
pkgver=25.1_2
local gittag="${pkgver//_/-}"
pkgrel=1
pkgdesc="Parser for the mconf configuration language"
arch=("x86_64" "aarch64")
url="https://github.com/marzeq/mconf"
license=("WTFPL")
depends=("go" "git")
source=("git+https://github.com/marzeq/mconf.git#tag=v$gittag")
md5sums=("SKIP")
provides=("mconf")
conflicts=("mconf-bin")

build() {
  cd "$srcdir/$pkgname"
  go build -o mconf
}

package() {
  cd "$srcdir/$pkgname"
  install -Dm755 mconf "$pkgdir/usr/bin/mconf"
}