2024-10-08 13:05:15 +00:00
|
|
|
maintainer="Natanael Copa <ncopa@alpinelinux.org>"
|
2022-01-17 13:57:10 +00:00
|
|
|
pkgname=${TESTNAME-test-pkgname}
|
2023-03-16 12:22:19 +00:00
|
|
|
pkgver="${TESTPKGVER-1.0}"
|
2022-01-17 13:57:10 +00:00
|
|
|
pkgrel=0
|
|
|
|
pkgdesc="Dummy test package that fails to build"
|
|
|
|
url="https://gitlab.alpinelinux.org/alpine/aports"
|
|
|
|
arch="noarch"
|
|
|
|
license="MIT"
|
2024-04-01 14:58:22 +00:00
|
|
|
provides="${TESTPROVIDES-provided}"
|
2022-01-17 13:57:10 +00:00
|
|
|
subpackages="${TESTSUBNAME-$pkgname-sub}:_sub"
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
mkdir -p "$builddir"
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
touch foo
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
true
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
mkdir -p "$pkgdir"
|
|
|
|
cp -r * "$pkgdir"/
|
|
|
|
}
|
|
|
|
|
|
|
|
_sub() {
|
2022-01-17 15:17:25 +00:00
|
|
|
depends="$pkgname=${TESTDEPVER-$pkgver-r$pkgrel}"
|
2022-01-17 13:57:10 +00:00
|
|
|
mkdir -p "$subpkgdir"
|
|
|
|
}
|