summaryrefslogtreecommitdiff
path: root/extra/libsm/PKGBUILD
blob: 1731fa5c0b6c6f42e6aec08b2525ccae7ce3b581 (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
25
26
27
# $Id: PKGBUILD 197091 2013-10-21 18:35:02Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libsm
pkgver=1.2.2
pkgrel=2
pkgdesc="X11 Session Management library"
arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('libice' 'util-linux')
makedepends=('xorg-util-macros' 'xtrans')
source=(${url}/releases/individual/lib/libSM-${pkgver}.tar.bz2)
sha256sums=('0baca8c9f5d934450a70896c4ad38d06475521255ca63b717a6510fdb6e287bd')

build() {
  cd libSM-${pkgver}
  ./configure --prefix=/usr --sysconfdir=/etc
  make
}

package() {
  cd libSM-${pkgver}
  make DESTDIR="${pkgdir}" install

  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}