diff options
author | Gonzalo Exequiel Pedone | 2024-04-22 16:35:41 -0300 |
---|---|---|
committer | Gonzalo Exequiel Pedone | 2024-04-22 16:35:41 -0300 |
commit | 3abdb8ea9a3aef63b25e48a7a10f85028d54c109 (patch) | |
tree | ed431dcb45cd01be3bc228e23297e47eca77c37b | |
download | aur-android-aarch64-libxcursor.tar.gz |
New package.
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | PKGBUILD | 43 |
3 files changed, 72 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9c2c34f31531 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = android-aarch64-libxcursor + pkgdesc = X cursor management library (Android aarch64) + pkgver = 1.2.2 + pkgrel = 1 + url = https://gitlab.freedesktop.org/xorg/lib/libxcursor + arch = any + license = HPND-sell-variant + makedepends = android-aarch64-xorg-util-macros + depends = android-aarch64-libxfixes + depends = android-aarch64-libxrender + depends = android-aarch64-libx11 + depends = android-aarch64-xorgproto + options = !strip + options = !buildflags + options = staticlibs + options = !emptydirs + source = https://xorg.freedesktop.org//releases/individual/lib/libXcursor-1.2.2.tar.xz + source = https://xorg.freedesktop.org//releases/individual/lib/libXcursor-1.2.2.tar.xz.sig + validpgpkeys = 4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E + md5sums = bf3a43ad8cb91a258b48f19c83af8790 + md5sums = SKIP + +pkgname = android-aarch64-libxcursor diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..b5b03b115225 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +pkg +src +*.tar.xz +*.tar.gz +*.tar.bz2 +*.asc diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..35a44ac28449 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Gonzalo Exequiel Pedone <hipersayan DOT x AT gmail DOT com> +# Contributor: Andreas Radke <andyrtr@archlinux.org> +# Contributor: Jan de Groot <jgc@archlinux.org> +# Contributor: Alexander Baldeck <alexander@archlinux.org> + +_android_arch=aarch64 + +pkgname=android-${_android_arch}-libxcursor +pkgver=1.2.2 +pkgrel=1 +arch=('any') +pkgdesc="X cursor management library (Android ${_android_arch})" +url="https://gitlab.freedesktop.org/xorg/lib/libxcursor" +license=('HPND-sell-variant') +depends=("android-${_android_arch}-libxfixes" + "android-${_android_arch}-libxrender" + "android-${_android_arch}-libx11" + "android-${_android_arch}-xorgproto") +makedepends=("android-${_android_arch}-xorg-util-macros") +options=(!strip !buildflags staticlibs !emptydirs) +source=("https://xorg.freedesktop.org//releases/individual/lib/libXcursor-${pkgver}.tar.xz"{,.sig}) +md5sums=('bf3a43ad8cb91a258b48f19c83af8790' + 'SKIP') +validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # "Alan Coopersmith <alan.coopersmith@oracle.com>" + +build() { + cd "${srcdir}/libXcursor-$pkgver" + source android-env ${_android_arch} + + android-${_android_arch}-configure \ + --sysconfdir="${ANDROID_PREFIX_ETC}" + make $MAKEFLAGS +} + +package() { + cd "${srcdir}/libXcursor-$pkgver" + source android-env ${_android_arch} + + make DESTDIR="${pkgdir}" install + rm -rf "$pkgdir/${ANDROID_PREFIX_SHARE}" + ${ANDROID_STRIP} -g --strip-unneeded "${pkgdir}"/${ANDROID_PREFIX_LIB}/*.so + ${ANDROID_STRIP} -g "$pkgdir"/${ANDROID_PREFIX_LIB}/*.a +} |