35 lines
971 B
Bash
35 lines
971 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=libxrandr
|
||
|
pkgver=1.5.4
|
||
|
pkgrel=1
|
||
|
pkgdesc="X11 RandR extension library"
|
||
|
arch=('x86_64')
|
||
|
url="https://xorg.freedesktop.org/"
|
||
|
license=('custom')
|
||
|
depends=('libxext' 'libxrender' 'libx11' 'glibc')
|
||
|
makedepends=('util-macros' 'xorgproto')
|
||
|
source=(https://www.x.org/pub/individual/lib/libXrandr-${pkgver}.tar.xz)
|
||
|
sha256sums=(1ad5b065375f4a85915aa60611cc6407c060492a214d7f9daf214be752c3b4d3)
|
||
|
build() {
|
||
|
cd libXrandr-${pkgver}
|
||
|
|
||
|
${CONFIGURE} \
|
||
|
--sysconfdir=/etc \
|
||
|
--localstatedir=/var \
|
||
|
--disable-static \
|
||
|
--docdir=/usr/share/doc/libXrandr-${pkgver}
|
||
|
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd libXrandr-${pkgver}
|
||
|
|
||
|
make DESTDIR=${pkgdir} install
|
||
|
}
|