updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / pcc / PKGBUILD
blobca4cf875169f4dc6860b4e67898a40c6143051f4
1 # Contributor: Andreas Baumann <abaumann@yahoo.com>
3 pkgname=pcc
4 pkgver=1.0.0
5 pkgrel=4
6 pkgdesc="A Portable C Compiler."
7 arch=('i686' 'x86_64')
8 url="http://pcc.ludd.ltu.se/"
9 license=('custom')
10 makedepends=()
11 depends=('pcc-libs>=1.0.0')
12 source=(ftp://pcc.ludd.ltu.se/pub/pcc-releases/${pkgname}-${pkgver}.tgz
13         license)
14 md5sums=('6e5d851ee57fe58702fe4e80ecd1f852'
15          '51f6cc02b26af53f26cfe87494ca5c87')
17 build() {
18   cd ${srcdir}/${pkgname}-${pkgver}
20   ./configure --prefix=/usr || return 1
22   make || return 1
25 package(){
26   cd ${srcdir}/${pkgname}-${pkgver}
28   make DESTDIR=$pkgdir install || return 1
30   mv ${pkgdir}/usr/share/man/man1/cpp.1 ${pkgdir}/usr/share/man/man1/pcpp.1
32   install -D -m0644 ${srcdir}/license ${pkgdir}/usr/share/licenses/pcc/license