blob: 8a09548715fdc965f9549376832f299eb975f77f (
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
|
# Maintainer: Paul Hentschel <aur at hpminc dot com>
pkgname=cmoc
pkgver=0.1.87
pkgrel=1
pkgdesc="6809-generating cross-compiler for a subset of the C language."
arch=('x86_64')
url="http://perso.b2b2c.ca/~sarrazip/dev/cmoc.html"
license=('GPL3')
depends=('perl' 'lwtools')
makedepends=('discount')
source=("http://perso.b2b2c.ca/~sarrazip/dev/$pkgname-$pkgver.tar.gz")
sha256sums=('478a76a2f7fcf77547e9cd02bb2c6cbd01033b5365df9d0604ff8110126a6ce4')
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr
make && make html
}
check() {
cd "$pkgname-$pkgver"
make -k check -j1
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
# Install html documentation
install -m644 doc/cmoc-{implementation,manual,vectrex}.html "$pkgdir/usr/share/doc/$pkgname"
}
# vim:set ts=2 sw=2 et:
|