initial packaging of tracelib
This commit is contained in:
commit
97059d7fc4
2 changed files with 53 additions and 0 deletions
16
.SRCINFO
Normal file
16
.SRCINFO
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
pkgbase = act-tracelib-git
|
||||
pkgdesc = A simulation trace file writer interface.
|
||||
pkgver = 0.0.1.r29.c8af854
|
||||
pkgrel = 1
|
||||
url = https://github.com/asyncvlsi/tracelib
|
||||
arch = x86_64
|
||||
license = LGPL-2.1
|
||||
makedepends = git
|
||||
makedepends = make
|
||||
depends = act-core
|
||||
provides = act-tracelib
|
||||
conflicts = act-tracelib
|
||||
source = git+https://github.com/asyncvlsi/tracelib
|
||||
sha512sums = SKIP
|
||||
|
||||
pkgname = act-tracelib-git
|
||||
37
PKGBUILD
Normal file
37
PKGBUILD
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
# Maintainer: Fabian Posch <aur@posch.tech>
|
||||
|
||||
pkgname=act-tracelib-git
|
||||
pkgver=0.0.1.r29.c8af854
|
||||
pkgrel=1
|
||||
pkgdesc="A simulation trace file writer interface."
|
||||
arch=('x86_64')
|
||||
url="https://github.com/asyncvlsi/tracelib"
|
||||
license=('LGPL-2.1')
|
||||
depends=('act-core')
|
||||
makedepends=('git' 'make')
|
||||
conflicts=('act-tracelib')
|
||||
provides=('act-tracelib')
|
||||
source=("git+${url}")
|
||||
sha512sums=("SKIP")
|
||||
|
||||
pkgver() {
|
||||
cd tracelib
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm644 ${srcdir}/tracelib/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
|
||||
export ACT_HOME="/opt/act-async"
|
||||
mkdir -p "${pkgdir}/opt/act-async/conf/generic"
|
||||
mkdir -p "${pkgdir}/opt/act-async/include/act"
|
||||
mkdir -p "${pkgdir}/opt/act-async/lib"
|
||||
|
||||
cd tracelib
|
||||
make INSTALL_OVERRIDE="${pkgdir}/opt/act-async/"
|
||||
make install INSTALL_OVERRIDE="${pkgdir}/opt/act-async/"
|
||||
|
||||
rm -rf "${pkgdir}/opt/act-async/conf"
|
||||
rm -rf "${pkgdir}/opt/act-async/act"
|
||||
|
||||
}
|
||||
Loading…
Reference in a new issue