aports/testing/libnbcompat/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

41 lines
888 B
Text

# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=libnbcompat
pkgver=1.0.2
pkgrel=0
pkgdesc="Portable NetBSD-compatibility library"
url="https://github.com/archiecobbs/libnbcompat"
arch="all"
license="BSD-2-Clause"
makedepends="autoconf automake bash libtool"
subpackages="$pkgname-dev"
source="https://github.com/archiecobbs/libnbcompat/archive/$pkgver/libnbcompat-$pkgver.tar.gz"
prepare() {
default_prepare
./autogen.sh
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
2b26e6468119d53febbeb8ba92c592072559868f74024033b92c099e0c2083126edd21c5fef6ab4df8554bae64e5bbd699e282f7f34d8fbb50ddadde3644b183 libnbcompat-1.0.2.tar.gz
"