1 # Maintainer: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
5 pkgver=1.4.3.${_ubuntu_ver}
7 pkgdesc="X11 Input extension library"
9 url="http://xorg.freedesktop.org"
10 depends=('libxext' 'inputproto-ubuntu')
11 makedepends=('pkgconfig' 'xorg-util-macros')
12 provides=("libxi=${pkgver}")
16 source=("${url}/releases/individual/lib/libXi-${pkgver%.*}.tar.bz2"
17 "http://archive.ubuntu.com/ubuntu/pool/main/libx/libxi/libxi_${pkgver%.*}-${_ubuntu_ver}.diff.gz")
18 sha512sums=('6ec8cedd7f6ad5ec6deb7ea594893615c87823537be20b6b1d67c8595364566ac4d22292e49640cb94e0ba2216c60859fcfb8f0650089015df9dc42b10a02b87'
19 'ef1ea2f8146ff9e5cc77d9ad2be5c8a1c858a6d7571221f2a698a26b6a2de44ace7636f9c1bad4e4e1cd1df0a81687312cbfcac2786b10a6df275bab4745e8fa')
22 cd "${srcdir}/libXi-${pkgver%.*}"
25 patch -Np1 -i "${srcdir}/libxi_${pkgver%.*}-${_ubuntu_ver}.diff"
26 for i in $(cat "debian/patches/series" | grep -v '#'); do
27 patch -Np1 -i "debian/patches/${i}"
31 ./autogen.sh --prefix=/usr --sysconfdir=/etc --disable-static --with-xmlto --without-fop
36 cd "${srcdir}/libXi-${pkgver%.*}"
38 make DESTDIR="${pkgdir}" install
40 install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
41 install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"