mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 04:54:39 +08:00
34 lines
1.0 KiB
Bash
34 lines
1.0 KiB
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>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=libxfixes
|
|
pkgver=4.0.5
|
|
pkgrel=2
|
|
pkgdesc="X11 miscellaneous 'fixes' extension library"
|
|
arch=('i686' 'x86_64')
|
|
url="http://xorg.freedesktop.org/"
|
|
license=('custom')
|
|
depends=('libx11>=1.3' 'fixesproto>=4.1.1')
|
|
makedepends=('pkgconfig')
|
|
options=('!libtool')
|
|
source=(${url}/releases/individual/lib/libXfixes-${pkgver}.tar.bz2)
|
|
md5sums=('1b4b8386bd5d1751b2c7177223ad4629')
|
|
|
|
build() {
|
|
cd ${srcdir}/libXfixes-${pkgver}
|
|
./configure --prefix=/usr --sysconfdir=/etc --disable-static \
|
|
--build=${CHOST} --host=${CHOST}
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
|
|
# install custom license
|
|
install -Dm644 $srcdir/libXfixes-$pkgver/COPYING \
|
|
$pkgdir/usr/share/licenses/$pkgname/COPYING || return 1
|
|
}
|