aboutsummaryrefslogtreecommitdiffstats
path: root/libparser/PKGBUILD
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-04-17 23:27:24 +0200
committerMattias Andrée <maandree@kth.se>2021-04-17 23:27:24 +0200
commitb30bbbe66c58ad5dfaa2c02a525d9e13b1a5d3bf (patch)
treee23f262e25d5ec7ec728f6c9d2219c13053dc1fe /libparser/PKGBUILD
parentUpdate mongoclock (diff)
downloadaur-packages-b30bbbe66c58ad5dfaa2c02a525d9e13b1a5d3bf.tar.gz
aur-packages-b30bbbe66c58ad5dfaa2c02a525d9e13b1a5d3bf.tar.bz2
aur-packages-b30bbbe66c58ad5dfaa2c02a525d9e13b1a5d3bf.tar.xz
Add libparser
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libparser/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
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
+}