updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / cococpp / PKGBUILD
blob0960a70b7bea66a23eb8649212fc845506ab18c7
1 # Maintainer: Thorsten Toepper <atsutane@freethoughts.de>
3 pkgname=cococpp
4 pkgver=20120102
5 pkgrel=1
6 pkgdesc="Coco is a compiler generator"
7 arch=('i686' 'x86_64')
8 url="http://www.ssw.uni-linz.ac.at/Research/Projects/Coco/#CPP"
9 license=('GPL')
10 makedepends=('unzip')
11 source=("http://www.ssw.uni-linz.ac.at/Research/Projects/Coco/CPP/CocoSourcesCPP.zip"
12         "http://www.ssw.uni-linz.ac.at/Research/Projects/Coco/Doc/license.txt")
13 md5sums=('39bef530693d5372ef15af3062f11f8b'
14          '70ff85f9908c38e9542a0bae936e36f6')
15 noextract=("CocoSourcesCPP.zip")
17 build() {
18   mv "CocoSourcesCPP.zip" "CocoSourcesCPP-${pkgver}.zip"
19   cd "${srcdir}"
20   mkdir "${pkgname}-${pkgver}"
21   unzip "CocoSourcesCPP-${pkgver}.zip" -d ${pkgname}-${pkgver}
23   cd "${pkgname}-${pkgver}"
24   chmod +x build.sh
25   ./build.sh
28 package() {
29   install -D -m755 ${srcdir}/${pkgname}-${pkgver}/Coco \
30     ${pkgdir}/usr/bin/cococpp
31   install -D -m644 ${srcdir}/license.txt \
32     ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
35 # vim:set ts=2 sw=2 et: