mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 20:47:13 +08:00
31 lines
862 B
Bash
31 lines
862 B
Bash
# $Id: PKGBUILD 55299 2009-10-12 16:53:43Z andyrtr $
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
|
|
pkgname=libxmu
|
|
pkgver=1.0.5
|
|
pkgrel=1
|
|
pkgdesc="X11 miscellaneous micro-utility library"
|
|
arch=('i686' 'x86_64')
|
|
url="http://xorg.freedesktop.org/"
|
|
depends=('libxext' 'libxt')
|
|
makedepends=('pkgconfig')
|
|
license=('custom')
|
|
options=('!libtool')
|
|
source=(${url}/releases/individual/lib/libXmu-${pkgver}.tar.bz2)
|
|
md5sums=('fc4d66be7a1a1eb474954728415e46d6')
|
|
|
|
build() {
|
|
cd ${startdir}/src/libXmu-${pkgver}
|
|
|
|
[ $CARCH == "x86_64" ] && export CFLAGS="$CFLAGS -fPIC"
|
|
|
|
./configure --prefix=/usr --sysconfdir=/etc --disable-static \
|
|
--host=${CHOST} --build=${CHOST}
|
|
make || return 1
|
|
make DESTDIR=${startdir}/pkg install || return 1
|
|
|
|
# install custom license
|
|
install -Dm644 $srcdir/libXmu-$pkgver/COPYING \
|
|
$pkgdir/usr/share/licenses/$pkgname/COPYING
|
|
}
|