aports/testing/nauty/APKBUILD
Celeste 40ea6c48d7 */*: add maintainer variable for aports i maintain
leaving the Maintainer comment there for better visual cues, syntax highlighting, and easy conversion to a Contributor comment

since Contributor comments are not being removed, just treat my Maintainer comments like Contributor ones, as a normal comment
2024-10-16 16:20:45 +00:00

50 lines
1.2 KiB
Text

# Contributor: Grigory Kirillov <txgk@bk.ru>
# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=nauty
pkgver=2.8.9
_pkgver=${pkgver//./_}
pkgrel=0
pkgdesc="Programs for computing automorphism groups of graphs and digraphs"
url="https://pallini.di.uniroma1.it/"
arch="all"
license="Apache-2.0"
subpackages="$pkgname-dev $pkgname-libs"
source="https://pallini.di.uniroma1.it/nauty$_pkgver.tar.gz
fix-test-uniqg.patch
"
builddir="$srcdir/$pkgname$_pkgver"
build() {
export CFLAGS="${CFLAGS/-Os/-O3}" # gotta go fast
./configure \
--target=$CTARGET \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--enable-generic
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
libs() {
default_libs
amove usr/lib/libnauty*-*.*.so
}
sha512sums="
4310747ae357d11547f9c9b45329775ffa2cedbff4bb4f9b12fb7b577c9e7c15e3f3c5279d3de145f2a1c3f8c727b1d9507a644093d1cbe58a93eb7b1436d8ee nauty2_8_9.tar.gz
616419a1240bcdcc4df8fef8e368a03583594bf84db6bd2894a1b851216f24cfeb82429ddb6ca4229edfe67d5719770ef0a0e3cd17c3780f8d1f807a016f4d5b fix-test-uniqg.patch
"