mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 22:59:17 +08:00
29 lines
707 B
Bash
29 lines
707 B
Bash
# Part of the X.org group
|
|
|
|
pkgname=libxi
|
|
pkgver=1.7.7
|
|
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=('37d150d7cc7061612643a3b8f458ff004edc6f2d')
|
|
|
|
|
|
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}/"
|
|
}
|