mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 00:57:14 +08:00
29 lines
868 B
Bash
29 lines
868 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=xcb-proto
|
|
pkgver=1.6
|
|
pkgrel=2
|
|
pkgdesc="XML-XCB protocol descriptions"
|
|
arch=(any)
|
|
url="http://xcb.freedesktop.org/"
|
|
license=('custom')
|
|
makedepends=('python' 'libxml2')
|
|
source=(${url}/dist/${pkgname}-${pkgver}.tar.bz2)
|
|
sha1sums=('e82418557c7f59f29da9ec18e0906d6d78e3a164')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr || return 1
|
|
make || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
|
|
}
|