From 3bde922c40e071bd3202a0ca3662b753529deab2 Mon Sep 17 00:00:00 2001 From: Franck STAUFFER Date: Sat, 16 Jan 2021 10:12:47 +0100 Subject: Add LICENSE --- .SRCINFO | 5 +++-- PKGBUILD | 14 ++++++++------ 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 7a6c82c..2851dd9 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 4dbc1f7..9506dfd 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,17 +1,19 @@ -# Maintainer: Caio Novais -# shellcheck shell=bash -# shellcheck disable=SC2034,SC2154 +# Maintainer: Franck STAUFFER +# Contributor: Caio Novais + 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" } -- cgit v1.2.3-70-g09d2