mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-22 15:02:59 +00:00
b4d975a11f
fixes commit f35f2aa859
(abuild: add test for invalid filenames)
29 lines
390 B
Plaintext
29 lines
390 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
|
|
# test package
|
|
pkgname="invalid-filename"
|
|
pkgver="1.0"
|
|
pkgrel=0
|
|
pkgdesc="Dummy test package that fails to build"
|
|
url="https://gitlab.alpinelinux.org/alpine/aports"
|
|
arch="noarch"
|
|
license="MIT"
|
|
|
|
prepare() {
|
|
mkdir -p "$builddir"
|
|
}
|
|
|
|
build() {
|
|
touch $'bad\nfile'
|
|
}
|
|
|
|
check() {
|
|
true
|
|
}
|
|
|
|
package() {
|
|
mkdir -p "$pkgdir"
|
|
cp -r * "$pkgdir"/
|
|
}
|
|
|