mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 05:57:14 +08:00
32 lines
758 B
Bash
32 lines
758 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
|
|
pkgname=libxi
|
|
pkgver=1.6.1
|
|
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=('4b53b41fdaa3acc86606c696c68d5eed11454612')
|
|
|
|
|
|
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}/"
|
|
}
|