Package Details: senpai-git 0.3.0.r1.gea86a2e-2

Git Clone URL: https://aur.archlinux.org/senpai-git.git (read-only, click to copy)
Package Base: senpai-git
Description: A modern terminal IRC client
Upstream URL: https://git.sr.ht/~delthas/senpai/
Licenses: ISC
Conflicts: senpai
Replaces: senpai-irc-git
Submitter: danshick
Maintainer: danshick
Last Packager: danshick
Votes: 5
Popularity: 0.000019
First Submitted: 2023-12-06 21:48 (UTC)
Last Updated: 2023-12-06 21:48 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2

whynothugo commented on 2021-11-29 22:12 (UTC)

You don't need to gz the man pages yourself. Just install the man pages normally in package() and makepkg will take care of compressing them.

Here's a patch:

diff --git a/PKGBUILD b/PKGBUILD
index aa27c2f..e759839 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -28,8 +28,6 @@ pkgver () {
 prepare () {
    cd "${srcdir}/${_pkgname}"
    make clean
-   rm -f doc/senpai.1.gz
-   rm -f doc/senpai.5.gz
 }

 build () {
@@ -42,8 +40,6 @@ build () {
    go build ./cmd/senpai
    make doc/senpai.1
    make doc/senpai.5
-   gzip doc/senpai.1
-   gzip doc/senpai.5
 }

 package () {
@@ -51,7 +47,7 @@ package () {
    mkdir -p "${pkgdir}/usr/share/man/man1"
    mkdir -p "${pkgdir}/usr/share/man/man5"
    cp "${srcdir}/${_pkgname}/senpai" "${pkgdir}/usr/bin/senpai-irc"
-   cp "${srcdir}/${_pkgname}/doc/senpai.1.gz" "${pkgdir}/usr/share/man/man1/"
-   cp "${srcdir}/${_pkgname}/doc/senpai.5.gz" "${pkgdir}/usr/share/man/man5/"
+   cp "${srcdir}/${_pkgname}/doc/senpai.1" "${pkgdir}/usr/share/man/man1/"
+   cp "${srcdir}/${_pkgname}/doc/senpai.5" "${pkgdir}/usr/share/man/man5/"
 }

danshick commented on 2021-10-26 05:26 (UTC)

Probably best to rename the man page too I suppose.

danshick commented on 2021-10-26 05:24 (UTC)

Unfortunately there is already a package (and binary) using the name senpai. I would have to mark them conflicting, and beyond sharing a name, they aren't.

whynothugo commented on 2021-10-25 16:08 (UTC)

Because the executable is being renamed, it doesn't match the man page.

E.g.: man 1 senpai works, but senpai doesn't.

It's probably best to stick to upstream defaults instead of patching it.