use license from repo

This commit is contained in:
Fabian Posch 2024-06-05 18:09:36 +02:00
parent 6064eb01be
commit 5d91b5c2a1
2 changed files with 4 additions and 7 deletions

View file

@ -1,7 +1,7 @@
pkgbase = act-stdlib-git pkgbase = act-stdlib-git
pkgdesc = ACT stdlib provides the base ACT libraries which the rest of the toolchain uses. pkgdesc = ACT stdlib provides the base ACT libraries which the rest of the toolchain uses.
pkgver = 0.0.1.r62.99d8416 pkgver = 0.0.1.r62.99d8416
pkgrel = 3 pkgrel = 4
url = https://github.com/asyncvlsi/stdlib url = https://github.com/asyncvlsi/stdlib
arch = x86_64 arch = x86_64
license = Apache-2.0 license = Apache-2.0
@ -11,8 +11,6 @@ pkgbase = act-stdlib-git
provides = act-stdlib provides = act-stdlib
conflicts = act-stdlib conflicts = act-stdlib
source = git+https://github.com/asyncvlsi/stdlib source = git+https://github.com/asyncvlsi/stdlib
source = LICENSE
sha512sums = SKIP sha512sums = SKIP
sha512sums = 810991a9bd90053dfc749cdcffd542cce34fa989c5e2b7e45d50dded3072f2e78055448def8c5dd5b33c212ed6890a73adfff737827e14733308f37bad06a5f3
pkgname = act-stdlib-git pkgname = act-stdlib-git

View file

@ -2,7 +2,7 @@
pkgname=act-stdlib-git pkgname=act-stdlib-git
pkgver=0.0.1.r62.99d8416 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." pkgdesc="ACT stdlib provides the base ACT libraries which the rest of the toolchain uses."
arch=('x86_64') arch=('x86_64')
url="https://github.com/asyncvlsi/stdlib" url="https://github.com/asyncvlsi/stdlib"
@ -11,10 +11,9 @@ depends=('act-core')
makedepends=('git' 'make') makedepends=('git' 'make')
conflicts=('act-stdlib') conflicts=('act-stdlib')
provides=('act-stdlib') provides=('act-stdlib')
source=("git+${url}" "LICENSE") source=("git+${url}")
sha512sums=( sha512sums=(
"SKIP" "SKIP"
"810991a9bd90053dfc749cdcffd542cce34fa989c5e2b7e45d50dded3072f2e78055448def8c5dd5b33c212ed6890a73adfff737827e14733308f37bad06a5f3"
) )
pkgver() { pkgver() {
@ -23,7 +22,7 @@ pkgver() {
} }
package() { 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" export ACT_HOME="/opt/act-async"
mkdir -p ${pkgdir}/opt/act-async/act mkdir -p ${pkgdir}/opt/act-async/act