Package Details: phpdoc-phar 3.4.3-1

Git Clone URL: https://aur.archlinux.org/phpdoc-phar.git (read-only, click to copy)
Package Base: phpdoc-phar
Description: “Dependency-less” Phar version of phpDocumentor2. Works with PHP 8.
Upstream URL: https://www.phpdoc.org/
Licenses: LGPL
Conflicts: phpdocumentor2
Submitter: Dirk
Maintainer: Dirk
Last Packager: Dirk
Votes: 4
Popularity: 0.000000
First Submitted: 2016-05-23 18:32 (UTC)
Last Updated: 2023-12-06 21:24 (UTC)

Dependencies (2)

  • php
  • php-xsl (optional) – Needed for some of the rendering templates

Required by (0)

Sources (1)

Latest Comments

Dirk commented on 2021-03-03 20:14 (UTC)

Thanks, I’m glad you like the solution. I hope upstream will release a version working with PHP 8 one day :)

And yes, the path was a leftover from testing the PHP 7 solution in a quick’n’dirty way. I just pushed a fixed version.

lkrms commented on 2021-03-03 13:33 (UTC)

Thanks for the update to v3.0.0 and for solving the PHP 7 dependency so cleanly :)

Just a heads up that the build fails in a chroot because php7_starter.sh can't be found at ../php7_starter.sh relative to $srcdir. Sources are symlinked within $srcdir though, so removing the directory component as below resolves this.

Thanks again for your work on this package.

diff --git a/PKGBUILD b/PKGBUILD
index 6ec38dc..63b8ad6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -43,5 +43,5 @@ pkgver() {
 package() {
     cd "$srcdir"
     install -Dm 644 "${_fileName}" $pkgdir/usr/share/phpdoc/phpdoc.phar
-    install -Dm 755 "../php7_starter.sh" $pkgdir/usr/bin/phpdoc
+    install -Dm 755 "php7_starter.sh" $pkgdir/usr/bin/phpdoc
 }

coderkun commented on 2016-05-23 18:52 (UTC)

Building works fine and a quick test run with PHP from [Extra] (currently 7.0.6) went fine as well. Maybe think about adding “ phpdocumentor2” as conflicting package. Thanks for maintining.