pmaports/hybris/android-headers-9.0/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
1 KiB
Text

# Maintainer: TheKit <nekit1000@gmail.com>
pkgname=android-headers-9.0
_pkgname=android-headers
pkgver=9.0_git20190803
_pkgver=9.0
pkgrel=0
arch="aarch64 armhf armv7"
url="https://github.com/Halium/android-headers"
license="Apache-2.0"
_commit="00543b4ff3f56a9f96be336df276365aef46f8a2"
source="$pkgname-$_commit.tar.gz::https://github.com/Halium/android-headers/archive/$_commit.tar.gz"
pkgdesc="Android headers used for building libhybris"
builddir="$srcdir/$_pkgname-$_commit"
package() {
make PREFIX=/usr DESTDIR="$pkgdir" install
mv "$pkgdir/usr/include/android" "$pkgdir/usr/include/android-$_pkgver"
sed -i "s~$includedir/android~$includedir/android-$_pkgver~g" "$pkgdir/usr/lib/pkgconfig/android-headers.pc"
mv "$pkgdir/usr/lib/pkgconfig/android-headers.pc" "$pkgdir/usr/lib/pkgconfig/android-headers-$_pkgver.pc"
}
sha512sums="9b2ab8d7ee56f8e5a875ed139814ed4f6171c3ccd1542a19b74a23cea0fd03ed9aa9b1ee70f2660d858dab891fc55681af6e7510f10995083d23a06a058e6d6d android-headers-9.0-00543b4ff3f56a9f96be336df276365aef46f8a2.tar.gz"