36 lines
1011 B
Bash
36 lines
1011 B
Bash
|
# This is an example PKGBUILD file. Use this as a start to creating your own,
|
||
|
# and remove these comments. For more information, see 'man PKGBUILD'.
|
||
|
# NOTE: Please fill out the license field for your package! If it is unknown,
|
||
|
# then please put 'unknown'.
|
||
|
|
||
|
# Maintainer: Future Linux Team <future_linux@163.com>
|
||
|
pkgname=libxcursor
|
||
|
pkgver=1.2.2
|
||
|
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' 'libx11' 'glibc' 'xorgproto')
|
||
|
makedepends=('util-macros')
|
||
|
source=(https://www.x.org/pub/individual/lib/libXcursor-${pkgver}.tar.xz)
|
||
|
sha256sums=(53d071bd2cc56e517a30998d5e685c8a74556ddada43c6985d14da9a023a88ee)
|
||
|
|
||
|
build() {
|
||
|
cd libXcursor-${pkgver}
|
||
|
|
||
|
${CONFIGURE} \
|
||
|
--sysconfdir=/etc \
|
||
|
--localstatedir=/var \
|
||
|
--disable-static \
|
||
|
--docdir=/usr/share/doc/libXcursor-${pkgver}
|
||
|
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd libXcursor-${pkgver}
|
||
|
|
||
|
make DESTDIR=${pkgdir} install
|
||
|
}
|