updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / pcc-libs / PKGBUILD
blobd4be4c8efb7b460d911d17eca5538811dc7dc80b
1 # Contributor: Andreas Baumann <abaumann@yahoo.com>
3 pkgname=pcc-libs
4 pkgver=1.0.0
5 pkgrel=4
6 pkgdesc="Libraries for the Portable C Compiler."
7 arch=('i686' 'x86_64')
8 makedepends=()
9 url="http://pcc.ludd.ltu.se/"
10 license=('custom')
11 source=(ftp://pcc.ludd.ltu.se/pub/pcc-releases/${pkgname}-${pkgver}.tgz
12         license)
13 md5sums=('a8dfcd6d3be512bc3f16f96c9abf132e'
14          '51f6cc02b26af53f26cfe87494ca5c87')
16 build() {
17   cd ${srcdir}/${pkgname}-${pkgver}
19   ./configure --prefix=/usr || return 1
21   make CC=gcc || return 1
24 package() {
25   cd ${srcdir}/${pkgname}-${pkgver}
27   make DESTDIR=$pkgdir install || return 1
29   install -D -m0644 ${srcdir}/license ${pkgdir}/usr/share/licenses/${pkgname}/license