mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 09:47:19 +08:00
29 lines
950 B
Bash
29 lines
950 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=xextproto
|
|
pkgver=7.2.0
|
|
pkgrel=1
|
|
pkgdesc="X11 various extension wire protocol"
|
|
arch=('any')
|
|
license=('custom')
|
|
url="http://xorg.freedesktop.org/"
|
|
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
|
|
#source=(http://chakra-project.org/sources/${pkgname}/${pkgname}-${pkgver}.tar.gz)
|
|
sha1sums=('a117fb9d7fdebee7af3f9e79efe9812e39e650a5')
|
|
|
|
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
|
|
}
|