pmaports/main/mkbootimg-osm0sis/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

28 lines
855 B
Text

pkgname=mkbootimg-osm0sis
pkgver=2019.09.20
pkgrel=1
pkgdesc="Android bootimg tools (maintained fork of the C version, see #441)"
url="https://github.com/osm0sis/mkbootimg"
arch="all"
license="Apache-2.0"
provides="mkbootimg=$pkgver unpackbootimg=$pkgver"
replaces="mkbootimg"
source="$pkgname-$pkgver.tar.gz::https://github.com/osm0sis/mkbootimg/archive/$pkgver.tar.gz"
options="!check"
builddir="$srcdir/mkbootimg-$pkgver"
prepare() {
default_prepare
sed s/-Werror/-W/g -i Makefile
}
build() {
make -j1
}
package() {
install -Dm755 "$builddir/mkbootimg" "$pkgdir/usr/bin/mkbootimg-osm0sis"
install -Dm755 "$builddir/unpackbootimg" "$pkgdir/usr/bin/unpackbootimg"
}
sha512sums="ec396b137d4159a3ae0a0d40e25904c7d954ed6e0ce32f4ebb8fc885fd1d3a948a56e41e3404597a8b3768a3e468a133b4db99ef85678ffffc13ac17034b9185 mkbootimg-osm0sis-2019.09.20.tar.gz"