aports/testing/admesh/APKBUILD

35 lines
913 B
Text

# Contributor: Marian Buschsieweke <marian.buschsieweke@posteo.net>
# Maintainer: Marian Buschsieweke <marian.buschsieweke@posteo.net>
pkgname=admesh
pkgver=0.98.5
pkgrel=0
pkgdesc="A program for processing triangulated solid meshes"
url="https://github.com/admesh/admesh"
arch="all"
license="GPL-2.0-only"
makedepends="libtool"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/admesh/admesh/releases/download/v$pkgver/admesh-$pkgver.tar.gz"
options="!check" # no unit tests
# config.sub is too old to recognize loongarch64-alpine-linux-musl
prepare() {
default_prepare
update_config_sub
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr
make
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
8d94966caf65ec09a143b0d9ed4a1dce1ccd6dc2281b6da02c620d6f31439c2ce4b6501bfca4392ed96727696df3a15c86890e4dd6fc995bc8cf9d130f25786a admesh-0.98.5.tar.gz
"