Package Details: gonhang 0.3.6-1

Git Clone URL: https://aur.archlinux.org/gonhang.git (read-only, click to copy)
Package Base: gonhang
Description: GonhaNG is a System Monitor for several important hardware variables.
Upstream URL: https://github.com/fredcox/gonhang
Licenses: MIT
Conflicts: gonha
Replaces: gonha
Submitter: fredlins
Maintainer: fredlins
Last Packager: fredlins
Votes: 1
Popularity: 0.22
First Submitted: 2020-09-12 11:18
Last Updated: 2020-09-21 18:03

Latest Comments

yochananmarqos commented on 2020-09-13 02:26

Since gonhang replaces gonha, please add the following to the PKGBUILD:

conflicts=('gonha')
replaces=('gonha')

I've submitted a request to merge gonha into this one as well as a deletion request for gonha-git. I'll leave it up to you if you want to add your own VCS package.

fredlins commented on 2020-09-12 21:55

Ok,

i will remove mkdir

caltlgin commented on 2020-09-12 21:38

Also all the mkdir -p can be removed as install -Dm644 automatically creates the required directories.

mkdir -p "$pkgdir/usr/share/applications/"
install -Dm644 "${pkgname}"/"${pkgname}".desktop "$pkgdir/usr/share/applications/"

mkdir -p "$pkgdir/usr/share/icons/hicolor/48x48/apps/"
install -Dm644 "${pkgname}"/images/gonhang_icon.png "$pkgdir/usr/share/icons/hicolor/48x48/apps/"
mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

Can be shortened to:

install -Dm644 -t "${pkgdir}/usr/share/applications/" "${pkgname}/${pkgname}.desktop"
install -Dm644 -t "${pkgdir}/usr/share/icons/hicolor/48x48/apps/" "${pkgname}/images/${pkgname}_icon.png"
install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" 'LICENSE'