35 lines
955 B
Bash
35 lines
955 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=xcb-util-image
|
|
pkgver=0.4.1
|
|
pkgrel=1
|
|
pkgdesc="Utility libraries for XC Binding - Port of Xlib's XImage and XShmImage functions"
|
|
arch=('x86_64')
|
|
url="https://xcb.freedesktop.org"
|
|
license=('custom')
|
|
depends=('libxcb' 'xcb-util')
|
|
makedepends=('util-macros' 'xorgproto')
|
|
source=(https://xcb.freedesktop.org/dist/${pkgname}-${pkgver}.tar.xz)
|
|
sha256sums=(ccad8ee5dadb1271fd4727ad14d9bd77a64e505608766c4e98267d9aede40d3d)
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
${CONFIGURE} \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--disable-static
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
}
|