Package Details: mangl-git 1.0.3.r0.g4123b26-1

Git Clone URL: https://aur.archlinux.org/mangl-git.git (read-only, click to copy)
Package Base: mangl-git
Description: graphical man page viewer
Upstream URL: https://github.com/zigalenarcic/mangl
Licenses: BSD 2-Clause
Conflicts: mangl
Provides: mangl
Submitter: r3drock
Maintainer: r3drock
Last Packager: r3drock
Votes: 1
Popularity: 0.000000
First Submitted: 2019-10-25 23:55 (UTC)
Last Updated: 2020-12-19 17:04 (UTC)

Required by (0)

Sources (2)

Latest Comments

yochananmarqos commented on 2020-12-19 16:33 (UTC)

@r3drock: The patch was merged into master.

yochananmarqos commented on 2020-12-16 16:20 (UTC)

Working PKGBUILD using PR #13.

yochananmarqos commented on 2020-12-16 02:12 (UTC)

@deathtrip: Yep, I opened an issue months ago.

deathtrip commented on 2020-12-15 19:10 (UTC)

fails to compile for me: oc/compat_err.o:/tmp/makepkg/mangl-git/src/mangl/mandoc/compat_err.c:5: first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:72: mangl] Error 1

yochananmarqos commented on 2020-03-06 17:08 (UTC)

This also depends on freetype2, see the Makefile.

r3drock commented on 2019-12-18 13:45 (UTC)

Thank You for your suggestions. I implemented most of them.

yochananmarqos commented on 2019-12-16 16:39 (UTC) (edited on 2019-12-16 16:46 (UTC) by yochananmarqos)

Tags are available, please follow VCS package guidelines:


pkgver() {
    cd "$srcdir/${pkgname%-git}"
    printf "%s" "$(git describe --long --tags | sed 's/^v//;s/([^-]*-g)/r/;s/-/./g')"
}
1.0.3.g845acd7

You can also simplify the build() function:

build() {
    cd "$srcdir/${pkgname%-git}/mandoc"
    ./configure --prefix=/usr --exec_prefix=/usr
    make -C ..
}

Your check() function does absolutely nothing.