blob: dd2ff7a7166b8691dba47c6741c092870fde4baa (
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
|
# Maintainer: Alain Kalker
pkgname=pacc-git
pkgver=0.0.47.g60d76a2
pkgrel=1
pkgdesc="A compiler-compiler"
arch=('i686' 'x86_64')
url="http://paccrat.org/"
license=('GPL')
depends=('glibc')
makedepends=('git' 'texinfo')
install=$pkgname.install
source=('git://paccrat.org/pacc')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-*}"
git describe --tags | sed 's/^v//;s/-/./g'
}
build() {
cd "$srcdir/${pkgname%-*}"
make
make doc
}
package() {
cd "$srcdir/${pkgname%-*}"
install -Dm755 pacc "${pkgdir}/usr/bin/pacc"
install -Dm644 doc/pacc.info "${pkgdir}/usr/share/info/pacc.info"
install -Dm644 doc/pacc.pdf "${pkgdir}/usr/share/doc/${pkgname}/pacc.pdf"
}
# vim:set ts=2 sw=2 et:
|