summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d37e77bc1cb4d66afb5460f7c3db7e3ce8d7a8cd (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: A.T.W.A. <arch.atwa@gmail.com>
# Contributor: Erik Johnson <palehose at gmail dot com>

pkgname=libucl
pkgver=0.9.2
pkgrel=1
pkgdesc="Universal configuration library parser"
arch=('x86_64')
url="https://github.com/vstakhov/libucl"
license=('BSD-2-Clause')
depends=('glibc')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/vstakhov/${pkgname}/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('f63ddee1d7f5217cac4f9cdf72b9c5e8fe43cfe5725db13f1414b0d8a369bbe0')

build() {
    cd "${pkgname}-${pkgver}"
    ./autogen.sh
    ./configure --prefix=/usr
    make
}

package() {
    cd "${pkgname}-${pkgver}"
    make DESTDIR="${pkgdir}" install
    install -D -m 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
}