mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 15:47:15 +08:00
30 lines
977 B
Bash
30 lines
977 B
Bash
|
#
|
||
|
# Chakra 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=libxres
|
||
|
pkgver=1.0.4
|
||
|
pkgrel=1
|
||
|
pkgdesc="X11 Resource extension library"
|
||
|
arch=(i686 x86_64)
|
||
|
url="http://xorg.freedesktop.org"
|
||
|
license=('custom')
|
||
|
depends=('libxext')
|
||
|
makedepends=('pkgconfig' 'resourceproto' 'damageproto' 'compositeproto' 'scrnsaverproto')
|
||
|
options=(!libtool)
|
||
|
source=(${url}/releases/individual/lib/libXres-${pkgver}.tar.bz2)
|
||
|
md5sums=('4daf91f93d924e693f6f6ed276791be2')
|
||
|
|
||
|
build() {
|
||
|
cd ${srcdir}/libXres-${pkgver}
|
||
|
./configure --prefix=/usr --sysconfdir=/etc --disable-static \
|
||
|
--build=${CHOST} --host=${CHOST}
|
||
|
make || return 1
|
||
|
make DESTDIR=${pkgdir} install || return 1
|
||
|
install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
|
||
|
}
|