Package Details: phpdoc-phar 3.3.1-1

Git Clone URL: (read-only, click to copy)
Package Base: phpdoc-phar
Description: “Dependency-less” Phar version of phpDocumentor2. Works with PHP 8.
Upstream URL:
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: 2022-05-27 17:19 (UTC)

Dependencies (2)

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 can't be found at ../ 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
@@ -43,5 +43,5 @@ pkgver() {
 package() {
     cd "$srcdir"
     install -Dm 644 "${_fileName}" $pkgdir/usr/share/phpdoc/phpdoc.phar
-    install -Dm 755 "../" $pkgdir/usr/bin/phpdoc
+    install -Dm 755 "" $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.