archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libxcursor / repos / extra-x86_64 / PKGBUILD
blob85623d09c6ec359995fece7c5073f2585748b866
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Maintainer: Jan de Groot <jgc@archlinux.org>
3 # Contributor: Alexander Baldeck <alexander@archlinux.org>
5 pkgname=libxcursor
6 pkgver=1.2.1
7 pkgrel=1
8 pkgdesc="X cursor management library"
9 arch=(x86_64)
10 url="https://xorg.freedesktop.org/"
11 license=('custom')
12 depends=('libxfixes' 'libxrender')
13 optdepends=('gnome-themes-standard: fallback icon theme')
14 makedepends=('xorg-util-macros')
15 backup=(usr/share/icons/default/index.theme)
16 source=(${url}/releases/individual/lib/libXcursor-${pkgver}.tar.xz{,.sig}
17         index.theme)
18 sha512sums=('ebb42a39855aab86d0c11fe6ad33d011cf56a6dc5c309bef643460319c03df239b7e09fe88777bb25c0e9ff8aceac6bf66e51cc04a2d5ee463b3bc3bbf1674e3'
19             'SKIP'
20             '489a07b5c9c50b9ddbd10093c79a07d34f2f1c9b4f053ecd68a9f300e201f7b92890b92f0bb4963dfeaa1b158f43149d615b07d1e70523de41565eff7dd5fccb')
21 #validpgpkeys=('C41C985FDCF1E5364576638B687393EE37D128F8') # "Matthieu Herrb <matthieu.herrb@laas.fr>"
22 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # "Alan Coopersmith <alan.coopersmith@oracle.com>"
24 build() {
25   cd libXcursor-${pkgver}
26   ./configure --prefix=/usr --sysconfdir=/etc --disable-static
27   make
30 package() {
31   cd libXcursor-${pkgver}
32   make DESTDIR="${pkgdir}" install
34   install -m755 -d "${pkgdir}/usr/share/icons/default"
35   install -m644 "$srcdir"/index.theme "${pkgdir}/usr/share/icons/default/"
37   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
38   install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"