abuild/tests/testrepo/lib64test/APKBUILD
2020-10-29 14:46:46 +00:00

35 lines
579 B
Plaintext

# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
# test package
pkgname="lib64test"
pkgver="1.0"
pkgrel=0
pkgdesc="Dummy test package"
url="https://gitlab.alpinelinux.org/alpine/aports"
arch="noarch"
license="MIT"
subpackages="$pkgname-dev $pkgname-doc"
source=""
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
mkdir -p "$builddir"
}
build() {
mkdir -p usr/include usr/bin usr/share/man/man1 usr/lib64
touch usr/include/$pkgname.h
touch usr/bin/$pkgname
touch usr/share/man/man1/$pkgname.1
}
check() {
true
}
package() {
mkdir -p "$pkgdir"
cp -r * "$pkgdir"/
}