libxres 1.2.2-1

This commit is contained in:
xhaa123 2024-04-15 21:08:03 +08:00
commit 066f953fda

34
PKGBUILD Normal file
View File

@ -0,0 +1,34 @@
# 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=libxres
pkgver=1.2.2
pkgrel=1
pkgdesc="X11 Resource extension library"
arch=('x86_64')
url="https://xorg.freedesktop.org"
license=('custom')
depends=('libxext')
makedepends=('xorgproto' 'util-macros')
source=(https://www.x.org/pub/individual/lib/libXres-${pkgver}.tar.xz)
sha256sums=(9a7446f3484b9b7538ac5ee30d2c1ce9e5b7fbbaf1440e02f6cca186a1fa745f)
build() {
cd libXres-${pkgver}
${CONFIGURE} \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--docdir=/usr/share/doc/libXres-${pkgver}
make
}
package() {
cd libXres-${pkgver}
make DESTDIR=${pkgdir} install
}