PKGBUILDs/extra/libsm/PKGBUILD
2009-09-26 09:35:50 -05:00

24 lines
815 B
Bash

# $Id: PKGBUILD 4411 2008-07-06 20:50:38Z jgc $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=libsm
pkgver=1.1.0
pkgrel=1
pkgdesc="X11 Session Management library"
arch=(arm)
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('libice' 'xproto' 'e2fsprogs')
makedepends=('pkgconfig' 'xtrans')
options=('!libtool')
source=(${url}/releases/individual/lib/libSM-${pkgver}.tar.bz2)
md5sums=('05a04c2b6382fb0054f6c70494e22733')
build() {
cd ${startdir}/src/libSM-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc || return 1
make || return 1
make DESTDIR=${startdir}/pkg install || return 1
install -d -m755 ${pkgdir}/usr/share/licenses/${pkgname}
install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
}