2024-10-08 13:05:15 +00:00
|
|
|
maintainer="Natanael Copa <ncopa@alpinelinux.org>"
|
2019-11-07 11:01:18 +00:00
|
|
|
pkgname="pkg1"
|
|
|
|
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/pkg1-1.0"
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
mkdir -p "$builddir"
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
mkdir -p usr/include usr/bin usr/share/man/man1
|
|
|
|
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"/
|
|
|
|
}
|
|
|
|
|