mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 02:17:14 +08:00
29 lines
707 B
Bash
29 lines
707 B
Bash
# Part of the X.org group
|
|
|
|
pkgname=libxi
|
|
pkgver=1.7.8
|
|
pkgrel=1
|
|
pkgdesc="X11 Input extension library"
|
|
arch=('x86_64')
|
|
url="http://xorg.freedesktop.org"
|
|
depends=('libxext' 'inputproto' 'libxfixes')
|
|
makedepends=('pkgconfig' 'xorg-util-macros')
|
|
license=('custom')
|
|
source=(${url}/releases/individual/lib/libXi-${pkgver}.tar.bz2)
|
|
sha1sums=('8a07a2ff4cb39c87aeebbac3118f10e87b854637')
|
|
|
|
|
|
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}/"
|
|
}
|