# Maintainer: Jiuyang Liu pkgname=opensta-git pkgver=r926.bb50746 pkgrel=1 pkgdesc="A gate level static timing verifier." arch=('x86_64') url="https://github.com/The-OpenROAD-Project/OpenSTA" license=('GPL') makedepends=('tcl' 'swig' 'bison' 'flex' 'git' 'cmake') optdepends=( 'libzip: read Verilog, SDF, SPF, and SPEF files compressed with gzip' 'cudd: a binary decision diageram package for improving conditional timing arc handling') source=("git+https://github.com/The-OpenROAD-Project/OpenSTA.git") provides=("opensta") md5sums=('SKIP') pkgver() { cd "${srcdir}/OpenSTA" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } prepare() { cd "${srcdir}/OpenSTA" cmake . -DCUDD=/usr -DCMAKE_BUILD_TYPE=RELEASE } build() { cd "${srcdir}/OpenSTA" make } package() { cd "${srcdir}/OpenSTA" make DESTDIR=${pkgdir} install }