summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c8c5008fd731f2743151b05ac5347223fce1049e (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
# Maintainer: Jonathan Tremesaygues <killruana@slaanesh.org>
pkgname=qflow-git
pkgver=1.4.r353.7148c77
pkgrel=1
epoch=
pkgdesc='Opensource physical implementation flow'
arch=('i686' 'x86_64')
provides=('qflow')
conflicts=('qflow')
url='http://opencircuitdesign.com/qflow/'
license=('GPL')
depends=('magic' 'qrouter' 'tcsh' 'yosys' 'netgen-lvs')
makedepends=('git')
optdepends=(
    'graywolf: Placement support' 
    'opensta: Alternative static timing analysis tool')
source=("git://opencircuitdesign.com/qflow#branch=qflow-1.4")
sha512sums=('SKIP')

pkgver() {
    cd "$srcdir/${pkgname%-git}"
    printf "1.4.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
 }

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

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