Name libxcursor
Description X cursor management library
Version 1.2.3-1
Package Base libxcursor
Homepage https://gitlab.freedesktop.org/xorg/lib/libxcursor
Maintainers ['Andreas Radke <andyrtr@archlinux.org>']
Contributors ['Alexander Baldeck <alexander@archlinux.org>', 'Jan de Groot <jgc@archlinux.org>']
Distro-repo https://gitlab.archlinux.org/archlinux/packaging/packages/libxcursor
Sources ['https://xorg.freedesktop.org//releases/individual/lib/libXcursor-1.2.3.tar.xz', 'https://xorg.freedesktop.org//releases/individual/lib/libXcursor-1.2.3.tar.xz.sig']
Dependencies ['default-cursors', 'glibc', 'libx11', 'libxfixes', 'libxrender', 'xorgproto']
Optional-Dependencies []
Build-Dependencies ['xorg-util-macros']
Provides []
Builddate 06-11-2024 08:35:54
Architecture x86_64
Distro-Version
Licenses ['HPND-sell-variant']
Hash 2a90267877c2f5ffe6c41a8ef91e6def3b7720de7b4b2628b329373ce20c1b99
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Alexander Baldeck <alexander@archlinux.org>

pkgname=libxcursor
pkgver=1.2.3
pkgrel=1
pkgdesc="X cursor management library"
arch=('x86_64')
url="https://gitlab.freedesktop.org/xorg/lib/libxcursor"
license=('HPND-sell-variant')
depends=('libxfixes' 'libxrender' 'default-cursors' 'libx11' 'glibc' 'xorgproto')
makedepends=('xorg-util-macros')
source=(https://xorg.freedesktop.org//releases/individual/lib/libXcursor-${pkgver}.tar.xz{,.sig})
sha512sums=('069a1eb27a0ee1b29b251bb6c2d0688543a791d6862fad643279e86736e1c12ca6fc02b85b8611c225a9735dc00efab84672d42b547baa97304362f0c5ae0b5a'
            'SKIP')
# validpgpkeys=('C41C985FDCF1E5364576638B687393EE37D128F8') # "Matthieu Herrb <matthieu.herrb@laas.fr>"
# validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # "Alan Coopersmith <alan.coopersmith@oracle.com>"
validpgpkeys=('19882D92DDA4C400C22C0D56CC2AF4472167BE03') # "Thomas E. Dickey (self-signed w/o SHA1) <dickey@invisible-island.net>"

build() {
  cd libXcursor-${pkgver}
  ./configure --prefix=/usr --sysconfdir=/etc --disable-static
  make
}

package() {
  cd libXcursor-${pkgver}
  make DESTDIR="${pkgdir}" install

  install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
}