blob: 56a4c050aac43b459c9051dbefd0f52c58e43b81 (
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
|
# 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}-libxdmcp
pkgver=1.1.4
pkgrel=1
pkgdesc="X11 Display Manager Control Protocol library (android)"
arch=('any')
url="https://xorg.freedesktop.org/"
license=('custom')
depends=("android-${_android_arch}-xorgproto")
makedepends=("android-${_android_arch}-xorg-util-macros")
options=(!strip !buildflags staticlibs !emptydirs)
source=(${url}/releases/individual/lib/libXdmcp-${pkgver}.tar.xz)
sha512sums=('83b384d43bfb034c395f83f97d1c6e73aa3d5faa8f8756b08e697c0b9c3c87189651b51e8213fbd1f5f9cbc2d8136cbf143627481744345d78cfe0ff2ad074a9')
build() {
cd "$srcdir/libXdmcp-${pkgver}"
source android-env ${_android_arch}
android-${_android_arch}-configure \
--sysconfdir="${ANDROID_PREFIX_ETC}"
make $MAKEFLAGS
}
package() {
cd "$srcdir/libXdmcp-${pkgver}"
source android-env ${_android_arch}
make DESTDIR="${pkgdir}" install
${ANDROID_STRIP} -g --strip-unneeded "${pkgdir}"/${ANDROID_PREFIX_LIB}/*.so
${ANDROID_STRIP} -g "$pkgdir"/${ANDROID_PREFIX_LIB}/*.a
}
|