summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b1d42b96bfd0a79408f549f2fa6c47b7ce9ec8a0 (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
# 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}-xtrans
pkgver=1.5.0
pkgrel=2
arch=('any')
pkgdesc="X transport library (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/lib/xtrans-${pkgver}.tar.xz)
sha512sums=('e8091f11d4ad2b14e01de3eac56bdf2267ea26687ce66e3056374d0d02e049480c0b27c482f8828a0efd086f1e4c485108ca4dce3f83d66c1896effa3b38b228')

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

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

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

    make DESTDIR="${pkgdir}" install
}