summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoramesgen2020-03-29 18:10:37 +0200
committeramesgen2020-03-29 18:10:37 +0200
commitd21b60e615a55ca62360740ad0e71dcffa4465af (patch)
treecb2b04d9a51025f9c1dc723c0c8712e5fc04d81d
parent6a9bc6e1149402e5f1819283970b0d0e2aae1fc7 (diff)
downloadaur-d21b60e615a55ca62360740ad0e71dcffa4465af.tar.gz
add version to license
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f4c02fffada2..ae1e506895ea 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -6,7 +6,7 @@ pkgbase = dhall-lsp-server-bin
arch = x86_64
license = BSD
source = https://github.com/dhall-lang/dhall-haskell/releases/download/1.31.0/dhall-lsp-server-1.0.6-x86_64-linux.tar.bz2
- source = https://raw.githubusercontent.com/dhall-lang/dhall-haskell/1.31.0/dhall-lsp-server/LICENSE
+ source = LICENSE-1.0.6::https://raw.githubusercontent.com/dhall-lang/dhall-haskell/1.31.0/dhall-lsp-server/LICENSE
sha256sums = b1fca05fe0b53c891cd4d39d2cbfe700b30f59a05f93945e20841da5ac2eadba
sha256sums = 9e2f0e499b5406faffffd32d0a1d69d519dc8c681fb0648ee5e9970e0299d4a7
diff --git a/PKGBUILD b/PKGBUILD
index 48e3152ad833..46f2e1c49e2c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,11 +12,11 @@ license=('BSD')
_dhall_ver=1.31.0
source=("https://github.com/dhall-lang/dhall-haskell/releases/download/$_dhall_ver/dhall-lsp-server-$pkgver-x86_64-linux.tar.bz2"
- "https://raw.githubusercontent.com/dhall-lang/dhall-haskell/$_dhall_ver/dhall-lsp-server/LICENSE")
+ "LICENSE-$pkgver::https://raw.githubusercontent.com/dhall-lang/dhall-haskell/$_dhall_ver/dhall-lsp-server/LICENSE")
sha256sums=('b1fca05fe0b53c891cd4d39d2cbfe700b30f59a05f93945e20841da5ac2eadba'
'9e2f0e499b5406faffffd32d0a1d69d519dc8c681fb0648ee5e9970e0299d4a7')
package() {
install -Dm755 "$srcdir/bin/dhall-lsp-server" -t "$pkgdir/usr/bin/"
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 LICENSE-$pkgver "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}