1 # Contributor: Alexander Baldeck <alexander@archlinux.org>
2 # Maintainer: Jan de Groot <jgc@archlinux.org>
7 pkgdesc="Matsui's CPP implementation precisely conformed to standards"
10 url="http://mcpp.sourceforge.net"
12 source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
15 sha256sums=('3b9b4421888519876c4fc68ade324a3bbd81ceeb7092ecdbbc2055099fcb8864'
16 'ee8bf97c42150d2424a5984baec8227a44538e15c23cec93aabfc65daf9a6081'
17 '27e42d8cae06327370cf0f9a8118d23a2f9368b87f24b38a9cb9c0c4eaeadb4e')
21 patch -Np1 -i ../namlen.patch
22 patch -Np1 -i ../fs28284.patch
27 ./configure --prefix=/usr --enable-mcpplib --disable-static
33 make DESTDIR="${pkgdir}" install
35 install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
36 ln -sf ../../doc/${pkgname}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"