# Compiling Time: 0 SBU
# Maintainer: DeX77 <dex+fw@dragonslave.de>

pkgname=nauty
pkgver=2.8.9
pkgrel=2
pkgdesc="A program for computing automorphism groups of graphs and digraphs"
archs=('x86_64')
groups=('apps-extra')
url="http://pallini.di.uniroma1.it"
up2date="lynx -dump -listonly $url | grep .tar.gz | head -n1 | rev | cut -d '/' -f 1 | rev | cut -d '.' -f 1 | sed 's/nauty//g' | sed 's:_:\.:g'"
source=("https://pallini.di.uniroma1.it/nauty${pkgver//\./_}.tar.gz")
sha1sums=('23504eeae95a1a8a9abfd47029b4ff9da886471f')
Fconfopts="	--enable-generic"
depends=('glibc')
_F_cd_path="$pkgname${pkgver//\./_}"
options=('static')

subpkgs=("${pkgname}-static")
subdescs=("Static files for $pkgname")
subdepends=('libstdc++>=12.2')
subgroups=('devel-extra')
subarchs=('x86_64')
suboptions=('')

build() {
        Fbuild

        Fsplit ${pkgname}-static usr/lib/*.a
}

# optimization OK
