From 5d91b5c2a140b20199a30c1af898c8ad80aee67e Mon Sep 17 00:00:00 2001 From: Fabian Posch Date: Wed, 5 Jun 2024 18:09:36 +0200 Subject: [PATCH] use license from repo --- .SRCINFO | 4 +--- PKGBUILD | 7 +++---- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index a19f003..60038d7 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = act-stdlib-git pkgdesc = ACT stdlib provides the base ACT libraries which the rest of the toolchain uses. pkgver = 0.0.1.r62.99d8416 - pkgrel = 3 + pkgrel = 4 url = https://github.com/asyncvlsi/stdlib arch = x86_64 license = Apache-2.0 @@ -11,8 +11,6 @@ pkgbase = act-stdlib-git provides = act-stdlib conflicts = act-stdlib source = git+https://github.com/asyncvlsi/stdlib - source = LICENSE sha512sums = SKIP - sha512sums = 810991a9bd90053dfc749cdcffd542cce34fa989c5e2b7e45d50dded3072f2e78055448def8c5dd5b33c212ed6890a73adfff737827e14733308f37bad06a5f3 pkgname = act-stdlib-git diff --git a/PKGBUILD b/PKGBUILD index 35963fd..a50672d 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ pkgname=act-stdlib-git pkgver=0.0.1.r62.99d8416 -pkgrel=3 +pkgrel=4 pkgdesc="ACT stdlib provides the base ACT libraries which the rest of the toolchain uses." arch=('x86_64') url="https://github.com/asyncvlsi/stdlib" @@ -11,10 +11,9 @@ depends=('act-core') makedepends=('git' 'make') conflicts=('act-stdlib') provides=('act-stdlib') -source=("git+${url}" "LICENSE") +source=("git+${url}") sha512sums=( "SKIP" - "810991a9bd90053dfc749cdcffd542cce34fa989c5e2b7e45d50dded3072f2e78055448def8c5dd5b33c212ed6890a73adfff737827e14733308f37bad06a5f3" ) pkgver() { @@ -23,7 +22,7 @@ pkgver() { } package() { - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 "${srcdir}/stdlib/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" export ACT_HOME="/opt/act-async" mkdir -p ${pkgdir}/opt/act-async/act