summaryrefslogtreecommitdiff
path: root/extra/libsm/PKGBUILD
blob: 907c56c8af2393c2305008eec1d9cc23332f885e (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
28
# $Id: PKGBUILD 151850 2012-03-03 13:43:52Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libsm
pkgver=1.2.1
pkgrel=1.1
pkgdesc="X11 Session Management library"
arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('libice' 'util-linux-ng')
makedepends=('xorg-util-macros' 'xtrans')
options=('!libtool')
source=(${url}/releases/individual/lib/libSM-${pkgver}.tar.bz2)
sha1sums=('8d354a165e330022ffd3606aba562b8c8154213d')

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

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

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