summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFranck STAUFFER2021-01-16 10:12:47 +0100
committerFranck STAUFFER2021-01-16 10:12:47 +0100
commit3bde922c40e071bd3202a0ca3662b753529deab2 (patch)
treea7d1abd2e14de2a2e66f910deb2d5a2514f2a55f
parent21f3ea609d45acbc278c8a8ce349150d1dd55eeb (diff)
downloadaur-3bde922c40e071bd3202a0ca3662b753529deab2.tar.gz
Add LICENSE
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD14
2 files changed, 11 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7a6c82cddf4..2851dd94bb4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,14 @@
pkgbase = pfetch
pkgdesc = A pretty system information tool written in POSIX sh.
pkgver = 0.6.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/dylanaraps/pfetch
arch = any
license = MIT
provides = pfetch
+ conflicts = pfetch-git
source = pfetch-0.6.0.tar.gz::https://github.com/dylanaraps/pfetch/archive/0.6.0.tar.gz
- sha1sums = 9440d085e9ef93a94127ed634edbbfb2048186c7
+ b2sums = 300f6f44f9306df4f438227a6f35bd54f50e477b950a45d63656f7c460cfc30a8b44ebdb3d5fdcf1e808e3b8e8e69e14088ff73a5da4485abf694893f2cc53f3
pkgname = pfetch
diff --git a/PKGBUILD b/PKGBUILD
index 4dbc1f7f462..9506dfd820e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,17 +1,19 @@
-# Maintainer: Caio Novais <caionov08 at gmail dot com>
-# shellcheck shell=bash
-# shellcheck disable=SC2034,SC2154
+# Maintainer: Franck STAUFFER <franck.stauffer@monaco.mc>
+# Contributor: Caio Novais <caionov08 at gmail dot com>
+
pkgname=pfetch
pkgver=0.6.0
-pkgrel=1
+pkgrel=2
pkgdesc="A pretty system information tool written in POSIX sh."
arch=('any')
url="https://github.com/dylanaraps/$pkgname"
license=('MIT')
provides=("$pkgname")
-source=("$pkgname-$pkgver.tar.gz::https://github.com/dylanaraps/$pkgname/archive/$pkgver.tar.gz")
-sha1sums=('9440d085e9ef93a94127ed634edbbfb2048186c7')
+conflicts=('pfetch-git')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+b2sums=('300f6f44f9306df4f438227a6f35bd54f50e477b950a45d63656f7c460cfc30a8b44ebdb3d5fdcf1e808e3b8e8e69e14088ff73a5da4485abf694893f2cc53f3')
package() {
install -Dm755 "$srcdir/$pkgname-$pkgver/pfetch" "$pkgdir/usr/bin/pfetch"
+ install -Dm755 "$srcdir/$pkgname-$pkgver/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}