blob: c56ecd778920918ff49fb241d19ae34c37d3c04a (
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
|
# Maintainer: xiretza <xiretza+aur@xiretza.xyz>
_pkgname=fpga-interchange-schema
pkgname="$_pkgname-git"
pkgver=r22.cb6d168
pkgrel=2
pkgdesc="FPGA interchange schema definitions"
arch=(any)
url="https://github.com/SymbiFlow/fpga-interchange-schema"
license=('Apache')
depends=('capnproto-java')
makedepends=('git')
checkdepends=()
provides=("${pkgname%%-git}=$pkgver")
conflicts=("${pkgname%%-git}")
source=(
"git+$url.git"
)
sha256sums=('SKIP')
pkgver() {
cd "$_pkgname"
#git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$_pkgname"
install -Dm644 -t "$pkgdir/usr/share/$_pkgname/" interchange/*.capnp
}
|