1 # Maintainer: Laurent O. Coderre <filosofem at gmail dot com>
4 pkgdesc="PHPLint is a validator and documentator for PHP 4 and PHP 5 programs."
8 url='http://www.icosaedro.it/phplint/'
11 source=("http://www.icosaedro.it/phplint/${pkgname}-pure-c-${pkgver}.tar.gz")
12 md5sums=('1f98f9a81105b3fa03ec8fba4fcca285')
16 cd ${srcdir}/${pkgbase}-pure-c-${pkgver}
20 ### Create the paths and copy files
21 mkdir -p ${pkgdir}/usr/share/phplint/
22 mkdir -p ${pkgdir}/usr/share/licences/phplint/
23 mkdir -p ${pkgdir}/usr/bin/
24 cp ${srcdir}/${pkgbase}-pure-c-${pkgver}/LICENSE ${pkgdir}/usr/share/licences/phplint/
25 cp ${srcdir}/${pkgbase}-pure-c-${pkgver}/src/phplint ${pkgdir}/usr/bin/
26 cp -R ${srcdir}/${pkgbase}-pure-c-${pkgver}/modules ${pkgdir}/usr/share/phplint/
28 ### Change the rights for module files
29 chmod a+r ${pkgdir}/usr/share/phplint/modules/*