mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 13:12:41 +00:00
Fix manpage in Arch PKGBUILD
This commit is contained in:
parent
6cc9f96728
commit
e439dd8277
3 changed files with 5 additions and 5 deletions
|
@ -171,8 +171,6 @@ class RoboFile extends \Robo\Tasks {
|
||||||
// get useable version strings from Git
|
// get useable version strings from Git
|
||||||
$version = trim(`git -C "$dir" describe --tags`);
|
$version = trim(`git -C "$dir" describe --tags`);
|
||||||
$archVersion = preg_replace('/^([^-]+)-(\d+)-(\w+)$/', "$1.r$2.$3", $version);
|
$archVersion = preg_replace('/^([^-]+)-(\d+)-(\w+)$/', "$1.r$2.$3", $version);
|
||||||
// generate manpages
|
|
||||||
$t->addTask($this->taskExec("./robo manpage")->dir($dir));
|
|
||||||
// name the generic release tarball
|
// name the generic release tarball
|
||||||
$tarball = "arsse-$version.tar.gz";
|
$tarball = "arsse-$version.tar.gz";
|
||||||
// generate the Debian changelog; this also validates our original changelog
|
// generate the Debian changelog; this also validates our original changelog
|
||||||
|
@ -187,7 +185,9 @@ class RoboFile extends \Robo\Tasks {
|
||||||
$t->addTask($this->taskReplaceInFile($dir."dist/arch/PKGBUILD")->regex('/^source=\("arsse-[^"]+"\)$/m')->to('source=("'.basename($tarball).'")'));
|
$t->addTask($this->taskReplaceInFile($dir."dist/arch/PKGBUILD")->regex('/^source=\("arsse-[^"]+"\)$/m')->to('source=("'.basename($tarball).'")'));
|
||||||
// perform Composer installation in the temp location with dev dependencies
|
// perform Composer installation in the temp location with dev dependencies
|
||||||
$t->addTask($this->taskComposerInstall()->arg("-q")->dir($dir));
|
$t->addTask($this->taskComposerInstall()->arg("-q")->dir($dir));
|
||||||
// generate the manual
|
// generate manpages
|
||||||
|
$t->addTask($this->taskExec("./robo manpage")->dir($dir));
|
||||||
|
// generate the HTML manual
|
||||||
$t->addTask($this->taskExec("./robo manual -q")->dir($dir));
|
$t->addTask($this->taskExec("./robo manual -q")->dir($dir));
|
||||||
// perform Composer installation in the temp location for final output
|
// perform Composer installation in the temp location for final output
|
||||||
$t->addTask($this->taskComposerInstall()->dir($dir)->noDev()->optimizeAutoloader()->arg("--no-scripts")->arg("-q"));
|
$t->addTask($this->taskComposerInstall()->dir($dir)->noDev()->optimizeAutoloader()->arg("--no-scripts")->arg("-q"));
|
||||||
|
|
2
dist/arch/PKGBUILD
vendored
2
dist/arch/PKGBUILD
vendored
|
@ -42,7 +42,7 @@ package() {
|
||||||
cp dist/sysuser.conf "$pkgdir/usr/lib/sysusers.d/arsse.conf"
|
cp dist/sysuser.conf "$pkgdir/usr/lib/sysusers.d/arsse.conf"
|
||||||
cp dist/tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/arsse.conf"
|
cp dist/tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/arsse.conf"
|
||||||
cp dist/php-fpm.conf "$pkgdir/etc/php/php-fpm.d/arsse.conf"
|
cp dist/php-fpm.conf "$pkgdir/etc/php/php-fpm.d/arsse.conf"
|
||||||
cp dist/manpage "$pkgdir/usr/share/man/man1/arsse.1"
|
cp -T dist/manpage "$pkgdir/usr/share/man/man1/arsse.1"
|
||||||
cp -r dist/nginx dist/apache config.defaults.php "$pkgdir/etc/webapps/arsse"
|
cp -r dist/nginx dist/apache config.defaults.php "$pkgdir/etc/webapps/arsse"
|
||||||
cd "$pkgdir"
|
cd "$pkgdir"
|
||||||
# copy files requiring special permissions
|
# copy files requiring special permissions
|
||||||
|
|
2
dist/arch/PKGBUILD-git
vendored
2
dist/arch/PKGBUILD-git
vendored
|
@ -59,7 +59,7 @@ package() {
|
||||||
cp dist/sysuser.conf "$pkgdir/usr/lib/sysusers.d/arsse.conf"
|
cp dist/sysuser.conf "$pkgdir/usr/lib/sysusers.d/arsse.conf"
|
||||||
cp dist/tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/arsse.conf"
|
cp dist/tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/arsse.conf"
|
||||||
cp dist/php-fpm.conf "$pkgdir/etc/php/php-fpm.d/arsse.conf"
|
cp dist/php-fpm.conf "$pkgdir/etc/php/php-fpm.d/arsse.conf"
|
||||||
cp dist/manpage "$pkgdir/usr/share/man/man1/arsse.1"
|
cp -T dist/manpage "$pkgdir/usr/share/man/man1/arsse.1"
|
||||||
cp -r dist/nginx dist/apache config.defaults.php "$pkgdir/etc/webapps/arsse"
|
cp -r dist/nginx dist/apache config.defaults.php "$pkgdir/etc/webapps/arsse"
|
||||||
cd "$pkgdir"
|
cd "$pkgdir"
|
||||||
# copy files requiring special permissions
|
# copy files requiring special permissions
|
||||||
|
|
Loading…
Reference in a new issue