mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 21:57:17 +08:00
32 lines
973 B
Bash
32 lines
973 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=libxi
|
|
pkgver=1.3.2
|
|
pkgrel=1
|
|
pkgdesc="X11 Input extension library"
|
|
arch=('i686' 'x86_64')
|
|
url="http://xorg.freedesktop.org"
|
|
depends=('libxext>=1.1' 'inputproto>=2.0')
|
|
makedepends=('pkgconfig')
|
|
options=(!libtool force)
|
|
license=('custom')
|
|
source=(${url}/releases/individual/lib/libXi-${pkgver}.tar.bz2)
|
|
md5sums=('26f93781356b1fdde08f7ee9cd5884d6')
|
|
|
|
build() {
|
|
cd "${srcdir}/libXi-${pkgver}"
|
|
./configure --prefix=/usr --sysconfdir=/etc --disable-static || 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
|
|
}
|