mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
27 lines
732 B
Bash
27 lines
732 B
Bash
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
|
|
pkgname=libxt
|
|
pkgver=1.0.5
|
|
pkgrel=2
|
|
pkgdesc="X11 toolkit intrinsics library"
|
|
arch=('arm')
|
|
url="http://xorg.freedesktop.org/"
|
|
license=('custom')
|
|
depends=('libsm' 'libx11')
|
|
makedepends=('pkgconfig')
|
|
options=('!libtool')
|
|
source=(${url}/releases/individual/lib/libXt-${pkgver}.tar.bz2)
|
|
md5sums=('f3bdd67785ace8cd0b23249e9d8c9975')
|
|
|
|
build() {
|
|
cd ${srcdir}/libXt-${pkgver}
|
|
./configure --prefix=/usr --sysconfdir=/etc \
|
|
--build=${CHOST} --host=${CHOST} \
|
|
--disable-install-makestrs
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
|
|
# install custom license
|
|
install -Dm644 $srcdir/libXt-$pkgver/COPYING \
|
|
$pkgdir/usr/share/licenses/$pkgname/COPYING
|
|
}
|