summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9635924afa0ff923cf081a97623cd5f3766ddb2a (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: Simon Repp <simon@fdpl.io>

arch=('i686' 'x86_64')
depends=('icu')
license=('LGPL3')
makedepends=('meson')
md5sums=('aa773b3ead156cc8a1e0077f12b34c85')
pkgdesc="C reference parsing library for eno notation"
pkgname=libeno
pkgrel=1
pkgver=0.1.0
provides=('libeno.so')
url="https://eno-lang.org"

source=("${pkgname}-${pkgver}.tar.gz::https://codeberg.org/simonrepp/libeno/archive/${pkgver}.tar.gz")

build() {
  cd "${srcdir}"/libeno
  rm -rf build
  meson --buildtype release --prefix /usr build
  cd build
  meson compile
}

package() {
  cd "${srcdir}"/libeno/build
  DESTDIR="${pkgdir}" meson install
}