summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 32a62827d98b42ebaf99321ec71aa7e093c1294b (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
# Build file for the (Arch Linux) Pacman package manager
# Maintainer: Sylvain Chiron <chironsylvain@orange.fr>

pkgname=gengraph
pkgver=v6.2
pkgrel=1
pkgdesc='Graph Generator coded in C: graph classes, graph algorithms and output formats'
arch=('x86_64' 'pentium4' 'i686' 'armv7h' 'aarch64')
url="https://gitub.u-bordeaux.fr/cygavoil/${pkgname}"
license=('CECILL-C')

optdepends=(
  'less: pager for help within the terminal'
  'graphviz: visualization of graphs'
)

source=("${url}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('c5b01e3efaee6471dfd42edcff70112cdcb7fce70b35d998c285cbe5dd02d976')

build() {
  make -C "${pkgname}-${pkgver}" -j9
}
package() {
  yes | make -C "${pkgname}-${pkgver}" install DESTDIR="${pkgdir}" prefix=/usr
}