PKGBUILDs/extra/libsm/PKGBUILD
2009-10-11 11:56:07 -05:00

24 lines
770 B
Bash

# 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
}