mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 06:07:15 +08:00
32 lines
969 B
Bash
32 lines
969 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=libice
|
|
pkgver=1.0.7
|
|
pkgrel=1
|
|
pkgdesc="X11 Inter-Client Exchange library"
|
|
arch=(i686 x86_64)
|
|
url="http://xorg.freedesktop.org/"
|
|
depends=('glibc' 'xproto>=7.0.18')
|
|
makedepends=('pkgconfig' 'xtrans>=1.2.5')
|
|
options=('!libtool')
|
|
source=(${url}/releases/individual/lib/libICE-${pkgver}.tar.bz2)
|
|
license=('custom')
|
|
sha1sums=('c7d0f4c5b0e999385445b8be1bc89aec4e5de71d')
|
|
|
|
build() {
|
|
cd "${srcdir}/libICE-${pkgver}"
|
|
./configure --prefix=/usr --sysconfdir=/etc || return 1
|
|
make || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
|
|
install -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
|
|
}
|