summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e54f13d8ecc601d90c2e6e5f6c4cab3c3ed09495 (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
# Maintainer: Laura Demkowicz-Duffy

pkgname=pascal-fc
pkgver=1
pkgrel=5
epoch=
pkgdesc="An implementation of pascal with extra constructs for teaching concurrent programming"
arch=('x86_64')
url="https://github.com/danieljabailey/Pascal-FC"
license=('GPL2')
makedepends=('git' 'fpc')
optdepends=('bash')
source=('pascal-fc::git+git://github.com/lexbailey/Pascal-FC#commit=b1bd078511879f8b678c8f7395d727953415926f'
	'install_script.patch')
noextract=()
md5sums=('SKIP'
         '787022791be8587ae796c3c0dae7a25d')

prepare() {
	cd "$srcdir/$pkgname"
	patch --forward --strip=1 --input="$srcdir/install_script.patch"
}

build() {
	cd "$srcdir/$pkgname"
	make pfccomp
	make pint
}

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