diff options
author | Mark Wagie | 2021-06-09 17:48:03 -0600 |
---|---|---|
committer | Mark Wagie | 2021-06-09 17:48:03 -0600 |
commit | 55d2971aecaf88820485d570ecc75debc9a31387 (patch) | |
tree | 822f6ecb637c04a7ce7764dadeb33deb5d914b13 | |
parent | 7172af506a9c9e48709723ebfd8067a641d8bbd5 (diff) | |
download | aur-55d2971aecaf88820485d570ecc75debc9a31387.tar.gz |
use versioned cheatsheet license
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 8 insertions, 8 deletions
@@ -1,7 +1,7 @@ pkgbase = cheat pkgdesc = Allows you to create and view interactive cheatsheets on the command-line pkgver = 4.2.2 - pkgrel = 1 + pkgrel = 2 url = https://github.com/cheat/cheat arch = i686 arch = x86_64 @@ -22,11 +22,11 @@ pkgbase = cheat source = cheat-4.2.2.tar.gz::https://github.com/cheat/cheat/archive/4.2.2.tar.gz source = conf.yml source = git+https://github.com/cheat/cheatsheets.git - source = https://raw.githubusercontent.com/cheat/cheatsheets/master/.github/LICENSE.txt + source = cheatsheets-4.2.2-LICENSE::https://raw.githubusercontent.com/cheat/cheatsheets/master/.github/LICENSE.txt sha256sums = b4fb5a0d63bad020ca240a8e27b573ef127a1ca0f27e87a2cb8bd817c258611a sha256sums = a0aa691a318219d048107b835fe0e8cddfa734618fc5ccbb800b5bb463e00ea5 sha256sums = SKIP - sha256sums = 5eaa85b8023f915629de53c3604015ab5b23bed404afa9e551ab44e0bc46dde3 + sha256sums = a2010f343487d3f7618affe54f789f5487602331c0a8d03f49e9a7c547cf0499 pkgname = cheat @@ -3,7 +3,7 @@ # Contributor: Bogdan <d0xi at inbox dot ru> pkgname=cheat pkgver=4.2.2 -pkgrel=1 +pkgrel=2 pkgdesc="Allows you to create and view interactive cheatsheets on the command-line" arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h') url="https://github.com/cheat/cheat" @@ -18,11 +18,11 @@ _commit='92db692c0fd6348793ee0641cb63d08977be90fd' source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz" 'conf.yml' 'git+https://github.com/cheat/cheatsheets.git' - "https://raw.githubusercontent.com/cheat/cheatsheets/master/.github/LICENSE.txt") + "cheatsheets-$pkgver-LICENSE::https://raw.githubusercontent.com/cheat/cheatsheets/master/.github/LICENSE.txt") sha256sums=('b4fb5a0d63bad020ca240a8e27b573ef127a1ca0f27e87a2cb8bd817c258611a' 'a0aa691a318219d048107b835fe0e8cddfa734618fc5ccbb800b5bb463e00ea5' 'SKIP' - '5eaa85b8023f915629de53c3604015ab5b23bed404afa9e551ab44e0bc46dde3') + 'a2010f343487d3f7618affe54f789f5487602331c0a8d03f49e9a7c547cf0499') prepare() { # Prevent creation of a `go` directory in one's home. @@ -71,6 +71,6 @@ package() { install -m644 "{}" \ "$pkgdir/usr/share/$pkgname/cheatsheets/community/" \; install -Dm644 "$srcdir/conf.yml" -t "$pkgdir/etc/$pkgname" - install -Dm644 "$srcdir/LICENSE.txt" \ - "$pkgdir/usr/share/licenses/$pkgname/cheatsheets-LICENSE" + install -Dm644 "$srcdir/cheatsheets-$pkgver-LICENSE" \ + "$pkgdir/usr/share/licenses/$pkgname" } |