summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bfa1d674b0226c6239effe7238c1eb59eb608639 (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
# 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=x86

pkgname=android-${_android_arch}-xorg-util-macros
pkgver=1.20.1
pkgrel=1
arch=('any')
pkgdesc="X.Org Autotools macros (Android ${_android_arch})"
license=('custom')
url="https://xorg.freedesktop.org/"
depends=('android-ndk')
makedepends=('android-configure')
options=(!strip !buildflags staticlibs !emptydirs)
source=("${url}/releases/individual/util/util-macros-${pkgver}.tar.xz")
md5sums=('35a4f264a9852be4ae66f07d4100356e')

build() {
    cd "${srcdir}/util-macros-${pkgver}"

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

package() {
    cd "${srcdir}/util-macros-${pkgver}"

    make DESTDIR="${pkgdir}" install
}