summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1c8ea0d3c1d4a719d26806a706e4ad078549d472 (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
# Maintainer: Rob Knegjens <rknegjens@gmail.com>
pkgname=qcl
pkgver=0.6.4
pkgrel=1
pkgdesc='Quantum Computation Language'
arch=('i686' 'x86_64')
url="http://tph.tuwien.ac.at/~oemer/qcl.html"
license=('GPL2')
depends=('flex' 'bison' 'readline' 'ncurses' 'plotutils')
source=("http://tph.tuwien.ac.at/~oemer/tgz/qcl-0.6.4.tgz" "makefile.patch")
md5sums=('a440b8b4441ba31f7d66ca76b4894a38'
         '632c461469fd01012d4bc1cb7c3924b6')

prepare() {
	cd "$srcdir/qcl-$pkgver"
    patch -Np1 -i "$srcdir/makefile.patch"
}

build() {
	cd "$srcdir/qcl-$pkgver"
	make
}

package() {
	cd "$srcdir/qcl-$pkgver"
	make DESTDIR="$pkgdir/" install
}