mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 03:57:14 +08:00
30 lines
945 B
Bash
30 lines
945 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=xf86driproto
|
|
pkgver=2.1.0
|
|
pkgrel=2
|
|
pkgdesc="X11 DRI extension wire protocol"
|
|
arch=(any)
|
|
url="http://xorg.freedesktop.org/"
|
|
license=('custom')
|
|
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2
|
|
LICENSE)
|
|
sha1sums=('0dfc6616ffc68ca3c3b5decb1e365aaa93be8548'
|
|
'32bab65dd9c0b49333146abf16602967041b0d92')
|
|
|
|
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 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
|
|
}
|