blob: c0c737919f5682430b984b5d4da3dd7499448ca1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: Gonzalo Exequiel Pedone <hipersayan DOT x AT gmail DOT com>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
_android_arch=armv7a-eabi
pkgname=android-${_android_arch}-hwdata
pkgver=0.389
pkgrel=1
arch=('any')
pkgdesc="hardware identification databases (Android ${_android_arch})"
url="https://github.com/vcrhonek/hwdata"
license=('GPL-2.0-or-later')
depends=('android-ndk')
makedepends=('android-environment')
options=(!strip !buildflags staticlibs !emptydirs)
source=("https://github.com/vcrhonek/hwdata/archive/refs/tags/v${pkgver}.tar.gz")
md5sums=('e6d6a05562b9f37039fd947b41da3cc7')
validpgpkeys=('3C40194FB79138CE0F78FD4919C2F062574F5403') # Vitezslav Crhonek
build() {
cd "${srcdir}/hwdata-${pkgver}"
source android-env ${_android_arch}
./configure \
--prefix="${ANDROID_PREFIX}" \
--datadir="${ANDROID_PREFIX_SHARE}" \
--libdir="${ANDROID_PREFIX_LIB}" \
--disable-blacklist
make $MAKEFLAGS
}
package() {
cd "${srcdir}/hwdata-${pkgver}"
source android-env ${_android_arch}
make DESTDIR="${pkgdir}" install
}
|