pmaports/main/hello-world-wrapper/APKBUILD
Minecrell a85db1dc7b
*: remove "Contributor:" lines from APKBUILDs (MR 1203)
At the moment we have Contributor: lines on some packages (but not all of them),
but often they don't represent the actual contributors to the package very well.
E.g. when we added them retroactively to the device packages we only added
the initial contributor (which isn't necessarily the person
who made most of the work for a device...)

The Git history is the most representative source for figuring out
who contributed to a package, so there is no reason to duplicate that
into the APKBUILD.

[skip ci]: way too many packages
2020-05-02 21:45:25 +03:00

24 lines
712 B
Text

# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
pkgname=hello-world-wrapper
pkgver=1
pkgrel=3
pkgdesc="Dependency test package wrapping hello-world"
url="https://github.org/postmarketOS"
arch="noarch"
license="MIT"
depends="hello-world"
makedepends="hello-world"
source="hello-world-wrapper.sh"
check() {
cd "$srcdir"
printf 'hello, world!\n' > expected
sh "$srcdir"/hello-world-wrapper.sh > real
diff -q expected real
}
package() {
install -D -m755 "$srcdir"/hello-world-wrapper.sh \
"$pkgdir"/usr/bin/hello-world-wrapper
}
sha512sums="a5c25ab16c0d98749b9cce8f347b115b44522c1d791e0ffcd248c65d25343936a542ea6b8af81a3d2e4f17e7ab9403ec44b5af679129bf0ed880dd4c5bcf7139 hello-world-wrapper.sh"