libxrender/PKGBUILD

36 lines
942 B
Bash
Raw Normal View History

2024-04-15 14:47:54 +08:00
# 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=libxrender
pkgver=0.9.11
pkgrel=1
pkgdesc="X Rendering Extension client library"
arch=('x86_64')
url="https://xorg.freedesktop.org/"
license=('custom')
depends=('libx11')
makedepends=('xorgproto')
source=(https://www.x.org/pub/individual/lib/libXrender-${pkgver}.tar.xz)
sha256sums=(bc53759a3a83d1ff702fb59641b3d2f7c56e05051fa0cfa93501166fa782dc24)
build() {
cd libXrender-${pkgver}
${CONFIGURE} \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--docdir=/usr/share/doc/libXrender-${pkgver}
make
}
package() {
cd libXrender-${pkgver}
make DESTDIR=${pkgdir} install
}