Add multi-package Alpine packaging
This commit is contained in:
28
packaging/alpine/blueprint/APKBUILD
Normal file
28
packaging/alpine/blueprint/APKBUILD
Normal file
@@ -0,0 +1,28 @@
|
||||
# Maintainer: Your Name <you@example.com>
|
||||
pkgname=example-package
|
||||
pkgver=0.1.0
|
||||
pkgrel=0
|
||||
pkgdesc="Short package description"
|
||||
url="https://example.com/example-package"
|
||||
arch="x86_64 aarch64"
|
||||
license="Apache-2.0"
|
||||
depends=""
|
||||
makedepends="build-base"
|
||||
subpackages="$pkgname-doc"
|
||||
source="$pkgname-$pkgver.tar.gz::https://example.com/releases/$pkgver.tar.gz"
|
||||
builddir="$srcdir/$pkgname-$pkgver"
|
||||
|
||||
build() {
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 "$builddir"/example-package "$pkgdir"/usr/bin/example-package
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
"
|
||||
Reference in New Issue
Block a user