Package Details: profetch 0.1.7-2

Git Clone URL: https://aur.archlinux.org/profetch.git (read-only, click to copy)
Package Base: profetch
Description: System Information Fetcher Written in GNU/Prolog
Upstream URL: https://github.com/RustemB/profetch
Keywords: fetch prolog
Licenses: GPL3
Submitter: rustemb
Maintainer: rustemb
Last Packager: rustemb
Votes: 0
Popularity: 0.000000
First Submitted: 2020-12-05 00:45 (UTC)
Last Updated: 2021-11-17 19:33 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

vel commented on 2021-08-27 07:00 (UTC)

like this

# Maintainer: rustemb <rustemb@systemli.org>
pkgname=profetch
pkgver=0.1.7
pkgrel=1
pkgdesc="System Information Fetcher Written in GNU/Prolog "
arch=(any)
url="https://github.com/RustemB/profetch"
license=('GPL3')
depends=('glibc')
makedepends=('gprolog' 'make')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
md5sums=('04a956f878c0bc052e93a2d6d360651c')

build() {
    cd "$pkgname-$pkgver"
    make
}

package() {
    cd "$pkgname-$pkgver"
    make DESTDIR="$pkgdir" install
}

rustemb commented on 2020-12-05 08:37 (UTC)

@yochananmarqos, thank you for comment

yochananmarqos commented on 2020-12-05 03:08 (UTC) (edited on 2020-12-05 03:09 (UTC) by yochananmarqos)

PKGBUILD critique:

  • A package already provides itself and there's no such thing as profetch-git. If there was, that package should provide and conflict with profetch so there's no reason to use provides() and conflicts() here at all.
  • Are you using tabs or spaces? How many spaces? Be consistent.
  • Use install instead of mkdir and mv:
  install -Dm755 "$pkgname" -t "$pkgdir/usr/bin"
  • There's no reason to install a GPL3 license, it's already present in /usr/share/licenses/common/.