a85db1dc7b
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
23 lines
877 B
Text
23 lines
877 B
Text
# Maintainer: Anri Dellal <anridellal@gmail.com>
|
|
pkgname=dtbtool-sprd
|
|
pkgver=1.0.0
|
|
pkgrel=0
|
|
_commit="f0e4a4c5025b8f7a13e69db3af9446717702f4f2"
|
|
pkgdesc="Tool for compiling a dtb.img for Spreadtrum SoC"
|
|
url="https://github.com/yonglongliu/vendor/"
|
|
arch="all"
|
|
license="MIT"
|
|
makedepends="dtc-dev"
|
|
options="!check" # There is no testsuite
|
|
source="$pkgname-$_commit-dtbtool.c::https://raw.githubusercontent.com/yonglongliu/vendor/$_commit/sprd/external/tools-build/dtbtool/dtbtool.c"
|
|
|
|
build() {
|
|
gcc $pkgname-$_commit-dtbtool.c -o dtbTool-sprd.o -c
|
|
gcc dtbTool-sprd.o -o dtbTool-sprd
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 "$srcdir"/dtbTool-sprd \
|
|
"$pkgdir"/usr/bin/dtbTool-sprd
|
|
}
|
|
sha512sums="2b79cbdaffb73dc99b673375f386218858f7a638433af1cf4da9310fea90485e42054b87bf1a4aa23e134595f1cf956f9bade07bc73076a8553e1363c3002b39 dtbtool-sprd-f0e4a4c5025b8f7a13e69db3af9446717702f4f2-dtbtool.c"
|