summaryrefslogtreecommitdiffstats
path: root/abs/core/libsm/PKGBUILD
blob: 60fb07d9c02e7d3426ce195e78e31a33ee2db07d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $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=(i686 x86_64)
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
}