36 lines
635 B
Plaintext
36 lines
635 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
|
|
# test package
|
|
pkgname="large-doc-subpkg"
|
|
pkgver="1.0"
|
|
pkgrel=0
|
|
pkgdesc="Dummy test package to check if large doc subpackages cause a warning to be emitted"
|
|
url="https://gitlab.alpinelinux.org/alpine/aports"
|
|
arch="noarch"
|
|
license="MIT"
|
|
subpackages="$pkgname-doc"
|
|
source=""
|
|
|
|
prepare() {
|
|
mkdir -p "$builddir"
|
|
}
|
|
|
|
build() {
|
|
true
|
|
}
|
|
|
|
check() {
|
|
true
|
|
}
|
|
|
|
package() {
|
|
mkdir -p "$pkgdir/usr/bin"
|
|
cat >"$pkgdir/usr/bin/foo" <<EOF
|
|
#!/bin/sh
|
|
EOF
|
|
|
|
mkdir -p "$pkgdir/usr/share/doc/$pkgname"
|
|
dd bs=1024 count=$((3 * 1024)) if=/dev/random \
|
|
of="$pkgdir/usr/share/doc/$pkgname/large-file"
|
|
}
|