pmaports/hybris/android-headers-4.4/APKBUILD
Danct12 b59a28a6ad
hybris/android-headers-*: fix license and linting errors (!931)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-02-15 20:49:36 +01:00

27 lines
1.1 KiB
Text

# Contributor: TheKit <nekit1000@gmail.com>
# Maintainer: TheKit <nekit1000@gmail.com>
pkgname=android-headers-4.4
_pkgname=android-headers
pkgver=4.4_git20171022
_pkgver=4.4
pkgrel=0
arch="aarch64 armhf armv7"
url="https://github.com/ubports/android-headers"
license="Apache-2.0"
_commit="f636fa26a61b36bef284a7aeba95eb767344b8b4"
source="$pkgname-$_commit.tar.gz::https://github.com/ubports/android-headers/archive/$_commit.tar.gz
android-headers.pc"
pkgdesc="Android headers used for building libhybris"
options="!check"
builddir="$srcdir/$_pkgname-$_commit"
package() {
mkdir -p "$pkgdir/usr/include"
cp -r "$builddir/19" "$pkgdir/usr/include/android-$_pkgver"
install -Dm644 "$srcdir/android-headers.pc" "$pkgdir/usr/lib/pkgconfig/android-headers-$_pkgver.pc"
}
sha512sums="c146753908ae0dd9aca0138a0a63e8578d65200d6d9b5154b846a0ac3309d9e33f6edddd92cd420e7b7dcaf73630546eb1bd45927cf8b4921f67dec7db7bb55c android-headers-4.4-f636fa26a61b36bef284a7aeba95eb767344b8b4.tar.gz
331f2670da9ce2690225694196265a55e2f41c35a1a12b71a75de3478b3b266c215be9bd451ab5ea13d4802e9f7d4e1bab8aa006d0df81fc264b2a132a022640 android-headers.pc"