test: simplify usermerge test APKBUILD

This commit is contained in:
Sertonix 2024-10-08 12:33:14 +02:00 committed by Natanael Copa
parent 78ae5e9386
commit d7208fa0c2
1 changed files with 5 additions and 15 deletions

View File

@ -1304,23 +1304,13 @@ abuild_usr_merge_body() {
url="https://gitlab.alpinelinux.org/alpine/aports" url="https://gitlab.alpinelinux.org/alpine/aports"
arch="noarch" arch="noarch"
license="MIT" license="MIT"
source="" options="!check"
prepare() {
mkdir -p "\$builddir"
}
build() {
mkdir -p \
lib \
bin \
sbin
}
check() {
true
}
package() { package() {
mkdir -p "\$pkgdir" mkdir -p \
cp -r * "\$pkgdir"/ "\$pkgdir"/lib \
"\$pkgdir"/bin \
"\$pkgdir"/sbin
} }
EOF EOF
atf_check -s exit:1 \ atf_check -s exit:1 \