mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 09:07:14 +08:00
33 lines
902 B
Bash
33 lines
902 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>
|
|
|
|
pkgname=libxi
|
|
pkgver=1.4.3
|
|
pkgrel=1
|
|
pkgdesc="X11 Input extension library"
|
|
arch=('i686' 'x86_64')
|
|
url="http://xorg.freedesktop.org"
|
|
depends=('libxext' 'inputproto')
|
|
makedepends=('pkgconfig' 'xorg-util-macros')
|
|
options=(!libtool)
|
|
license=('custom')
|
|
source=(${url}/releases/individual/lib/libXi-${pkgver}.tar.bz2)
|
|
sha1sums=('c66cfdee74e8d169a7992b5f257395e653ca761b')
|
|
|
|
build() {
|
|
cd "${srcdir}/libXi-${pkgver}"
|
|
./configure --prefix=/usr --sysconfdir=/etc --disable-static
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/libXi-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
|
|
}
|