aboutsummaryrefslogtreecommitdiffstats
path: root/libparser/PKGBUILD
blob: 312741ff7a18f8264cef3ff09da5921cc0a537b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se>

pkgname=libparser
pkgver=1.1.2
pkgrel=1
pkgdesc="Right-context-sensitive grammar parsing library"
arch=(x86_64)
url="https://codeberg.org/maandree/libparser"
license=('ISC')
depends=()
checkdepends=()
makedepends=()
source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
sha256sums=(6610809e88d0ca7d3bf3cd2597fa95a8ba235b9c1d3a0a4502831010ec553e15)

build() {
  cd "$srcdir/$pkgname"
  make PREFIX=/usr
}

package() {
  cd "$srcdir/$pkgname"
  make PREFIX=/usr DESTDIR="$pkgdir" install
}