summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4dcb955bab60f73f65624f87c5563a62e590fe03 (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: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>

_android_arch=aarch64

pkgname=android-${_android_arch}-xcb-proto
pkgver=1.17.0
pkgrel=1
arch=('any')
pkgdesc="XML-XCB protocol descriptions (Android ${_android_arch})"
url="https://xcb.freedesktop.org/"
license=('custom')
depends=('android-ndk')
makedepends=('android-configure'
             "android-${_android_arch}-libxml2"
             'python')
options=(!strip !buildflags staticlibs !emptydirs)
source=("https://xorg.freedesktop.org/archive/individual/proto/xcb-proto-${pkgver}.tar.xz"{,.sig})
md5sums=('c415553d2ee1a8cea43c3234a079b53f'
         'SKIP')
validpgpkeys=('3BB639E56F861FA2E86505690FDD682D974CA72A') # "Matt Turner <mattst88@gmail.com>"

build() {
    cd "$srcdir/xcb-proto-$pkgver"
    source android-env ${_android_arch}

    android-${_android_arch}-configure
    make $MAKEFLAGS
}

package() {
    cd "$srcdir/xcb-proto-$pkgver"
    source android-env ${_android_arch}

    make DESTDIR="$pkgdir" install
}