summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c3a4694eb89408ed8fc7ff16485894ee2627a048 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Maintainer: taotieren <admin@taotieren.com>

pkgname=freedom-devicetree-tools
pkgver=201908
pkgrel=2
epoch=
pkgdesc="This project contains a handful of tools that are designed to aid embedded software developers to generate statically parameterized designs from Freedom platform device trees."
arch=($CARCH)
url="https://github.com/sifive/freedom-devicetree-tools"
license=('Apache-2.0 AND MIT')
groups=()
depends=(
    gcc-libs
    glibc
    dtc
)
makedepends=(
    autoconf
    automake
)
checkdepends=()
optdepends=(
    'nuclei-openocd: nuclei-openocd 是 Nuclei Studio IDE 的调试工具。'
    'nuclei-gcc: nuclei-gcc 是 Nuclei Studio IDE 的编译工具。'
    'nucleistudioide: Nuclei Studio IDE 是基于 MCU Eclipse IDE 开发的一款针对芯来公司处理器核产品的集成开发环境工具,用于 RISC-V 开发继承了 Eclipse IDE 平台的各种优势。'
)
provides=()
conflicts=()
replaces=()
backup=()
options=('!strip')
install=
changelog=
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
noextract=()
sha256sums=('f4810b2cbbcec35c9a846f370cfe014098523ad1975582e6daa8955320495773')
#validpgpkeys=()

build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    ./configure --prefix=/usr
    make
}

package() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    make DESTDIR=${pkgdir} install
}