Package Details: skpr 0.15.4-12

Git Clone URL: https://aur.archlinux.org/skpr.git (read-only, click to copy)
Package Base: skpr
Description: The skpr cli tool
Upstream URL: https://github.com/skpr/cli
Licenses: MIT
Provides: skpr, skpr-rsh
Submitter: fubarhouse
Maintainer: fubarhouse
Last Packager: fubarhouse
Votes: 0
Popularity: 0.000000
First Submitted: 2021-05-24 11:53 (UTC)
Last Updated: 2022-02-03 04:29 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

lmartinez-mirror commented on 2022-02-03 04:56 (UTC)

Posting a patch for this package to address some issues.

  • Package should not provide itself (provides=('skpr'))
  • Package description should not self-reference itself
  • Package should NOT install to /usr/local
  • Package should not require any makedepends that are installed by default on all systems

I also changed the license to unknown because upstream does not provide source code, let alone a license file to verify.

diff --git a/PKGBUILD b/PKGBUILD
index 2a19c6a..3a25d4a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,19 @@
 # Maintainer: fubarhouse
+# Contributor: Luis Martinez <luis dot martinez at disroot dot org>
+
 pkgname=skpr
-provides=(skpr skpr-rsh)
 pkgver=0.15.4
-pkgrel=12
-pkgdesc="The skpr cli tool"
+pkgrel=13
+pkgdesc="Managed hosting platform for Drupal developers -- CLI tool"
 arch=('x86_64')
 url="https://github.com/skpr/cli"
-license=('MIT')
-makedepends=('tar')
-source=("skpr_v${pkgver}::${url}/releases/download/v${pkgver}/skpr_${pkgver}_linux_amd64.tar.gz")
-sha512sums=('952ecf390b665ac4bab8873c8fa672287087b49803bba4313db92fd6af8be987fdcdbf32786b7cb06d655cf3562b40edba29e09c7260e7f2ddafc90ba4dd1c79')
+license=('unknown')
+provides=('skpr-rsh')
+source=("$pkgname-$pkgver.tar.gz::$url/releases/download/v$pkgver/${pkgname}_${pkgver}_linux_amd64.tar.gz")
+sha256sums=('3b6d7338bd61bc02486b9343a4022bd9cc07f1bcab4bcab730001fde04423101')

 package() {
-  cd ${pkgname}_${pkgver}_linux_amd64
-  mkdir -p $pkgdir/usr/local/bin
-  install -Dm755 ${pkgname} "$pkgdir/usr/local/bin/skpr"
-  install -Dm755 ${pkgname}-rsh "$pkgdir/usr/local/bin/${pkgname}-rsh"
+   cd "${pkgname}_${pkgver}_linux_amd64"
+   install -D skpr{,-rsh} -t "$pkgdir/usr/bin/"
+   install -Dm644 share/man/man1/skpr.1 -t "$pkgdir/usr/share/man/man1/"
 }