summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a8fdd51e722d76ff42fa009c7922be162dab9d1d (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
# Maintainer: Jonathan Tremesaygues <killruana@slaanesh.org>
pkgname=qrouter-git
pkgver=1.4.r264.fc39175
pkgrel=1
epoch=
pkgdesc='Multi-level, over-the-cell maze router'
arch=('i686' 'x86_64')
provides=('qrouter')
conflicts=('qrouter')
url='http://opencircuitdesign.com/qrouter/'
license=('GPL')
depends=('tk' 'libxt')
makedepends=('git')
source=("git://opencircuitdesign.com/qrouter#branch=qrouter-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
}