diff options
author | xiota | 2023-11-10 18:39:44 -0800 |
---|---|---|
committer | xiota | 2023-11-10 18:39:44 -0800 |
commit | 77c23fd7e72ec45964334abc136fc334dcc06f68 (patch) | |
tree | b86c53d68c875814e6bfeab6b832b140eac7f1d3 | |
parent | 4b71bae01d5fd4150b167691ad31d3186c38818f (diff) | |
download | aur-phplint11.tar.gz |
metapackage
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | .gitignore | 8 | ||||
-rw-r--r-- | PKGBUILD | 41 |
3 files changed, 13 insertions, 49 deletions
@@ -1,14 +1,7 @@ pkgbase = phplint11 - pkgdesc = PHP 4 and 5 validator and documentator. + pkgdesc = metapackage - obsolete; do not use pkgver = 1.1_20130803 - pkgrel = 3 - url = http://www.icosaedro.it/phplint/ - arch = i686 - arch = x86_64 - license = MIT - depends = gc - source = http://www.icosaedro.it/phplint/phplint-pure-c-1.1_20130803.tar.gz - md5sums = 6c7b80444adaa31a5005b1b816d0cfda + pkgrel = 4 + arch = any pkgname = phplint11 - diff --git a/.gitignore b/.gitignore index 3f1864bb0ec4..018a3de08144 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -pkg -src -*.tar.gz -*.tar.xz +* +!PKGBUILD +!.SRCINFO +!.gitignore @@ -1,40 +1,11 @@ -# Maintainer: VirtualTam <virtualtam@flibidi.net> -# Contributor: Alexandre Boily <alexandreboily@gmail.com> -# -# NOTE -# The latest version, 2.0_20140824, can be installed with Composer: -# -# pacman -S php-composer -# composer global require phplint/phplint +# Maintainer: + pkgname=phplint11 -_pkgname=phplint -pkgdesc="PHP 4 and 5 validator and documentator." pkgver=1.1_20130803 -pkgrel=3 -arch=('i686' 'x86_64') -url='http://www.icosaedro.it/phplint/' -license=('MIT') -depends=('gc') -source=("${url}${_pkgname}-pure-c-${pkgver}.tar.gz") -md5sums=('6c7b80444adaa31a5005b1b816d0cfda') - -build() { - ### Compile - cd "${srcdir}/${_pkgname}-pure-c-${pkgver}" - ./configure - ./compile || return 1 -} +pkgrel=4 +pkgdesc="metapackage - obsolete; do not use" +arch=('any') package() { - cd "${srcdir}/${_pkgname}-pure-c-${pkgver}" - - ### Create the paths and copy files - mkdir -p ${pkgdir}/usr/share/phplint/ - mkdir -p ${pkgdir}/usr/share/licences/phplint/ - mkdir -p ${pkgdir}/usr/bin/ - cp ${srcdir}/${_pkgname}-pure-c-${pkgver}/src/phplint ${pkgdir}/usr/bin/ - cp -R ${srcdir}/${_pkgname}-pure-c-${pkgver}/modules ${pkgdir}/usr/share/phplint/ - - ### Change the rights for module files - chmod a+r ${pkgdir}/usr/share/phplint/modules/* + : } |