From b30bbbe66c58ad5dfaa2c02a525d9e13b1a5d3bf Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 17 Apr 2021 23:27:24 +0200 Subject: Add libparser MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libparser/PKGBUILD | 24 ++++++++++++++++++++++++ libparser/upload | 1 + 2 files changed, 25 insertions(+) create mode 100644 libparser/PKGBUILD create mode 120000 libparser/upload diff --git a/libparser/PKGBUILD b/libparser/PKGBUILD new file mode 100644 index 0000000..e4cf7ff --- /dev/null +++ b/libparser/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se> + +pkgname=libparser +pkgver=1.0 +pkgrel=1 +pkgdesc="Context-free grammar parsing library" +arch=(x86_64) +url="https://github.com/maandree/libparser" +license=('custom:ISC') +depends=() +checkdepends=() +makedepends=() +source=(libparser-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz) +sha256sums=(0cc718b25c3675215db8bb5eeb9a3ac6d0e3b7c6bc877c8f432ba4e646648b39) + +build() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr DESTDIR="$pkgdir" install +} diff --git a/libparser/upload b/libparser/upload new file mode 120000 index 0000000..1e7a8be --- /dev/null +++ b/libparser/upload @@ -0,0 +1 @@ +../upload \ No newline at end of file -- cgit v1.2.3-70-g09d2