summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 10284071f8ad111f2e083c384794638bf39e560b (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
29
30
31
32
33
34
35
36
# Maintainer: Jan Max Meyer <codepilot@phorward.info>
pkgname=unicc
pkgver=1.6.2
pkgrel=2
epoch=
pkgdesc="Universal LALR(1) parser generator for C, C++, Python, JavaScript, JSON and XML"
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
url="https://phorward.info"
license=('BSD')
depends=('phorward>=0.24.0')
makedepends=()
checkdepends=()
#changelog=CHANGELOG
source=("https://phorward.info/download/unicc/$pkgname-$pkgver.tar.gz"
"https://phorward.info/download/unicc/unicc.pdf")
sha256sums=('d19d84e19de8d1ea2e874467737681ad0794c6882664469c05fb88cbf0f3a81f'
'772ff233aae1eb433778534785556a7cb0e20a071c601a57631bc7ae8b1432df')

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

check() {
	cd "$pkgname-$pkgver"
	make -k check
}

package() {
	cd "$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
	cd ..
	cp unicc.pdf $pkgdir/usr/share/unicc
}