35 lines
933 B
Bash
35 lines
933 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=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
|
||
|
}
|