summaryrefslogtreecommitdiffstats
path: root/abs/core/libsm/PKGBUILD
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-16 03:34:28 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-16 03:34:28 (GMT)
commit68755c7119f448443c176ae8917fc8aaf93d668b (patch)
tree4db16382a6b255951159ed0dd7afbb09c5779e7b /abs/core/libsm/PKGBUILD
parentd8e63425c8d8b2a7203d0167e6d09a32a6e9b66a (diff)
downloadlinhes_pkgbuild-68755c7119f448443c176ae8917fc8aaf93d668b.zip
linhes_pkgbuild-68755c7119f448443c176ae8917fc8aaf93d668b.tar.gz
linhes_pkgbuild-68755c7119f448443c176ae8917fc8aaf93d668b.tar.bz2
libsm: up to latest
Diffstat (limited to 'abs/core/libsm/PKGBUILD')
-rw-r--r--abs/core/libsm/PKGBUILD29
1 files changed, 17 insertions, 12 deletions
diff --git a/abs/core/libsm/PKGBUILD b/abs/core/libsm/PKGBUILD
index 60fb07d..6bfe83f 100644
--- a/abs/core/libsm/PKGBUILD
+++ b/abs/core/libsm/PKGBUILD
@@ -1,24 +1,29 @@
-# $Id: PKGBUILD 4411 2008-07-06 20:50:38Z jgc $
-# Maintainer: Alexander Baldeck <alexander@archlinux.org>
-# Contributor: Jan de Groot <jgc@archlinux.org>
+# $Id: PKGBUILD 97792 2010-11-01 22:14:37Z jgc $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
pkgname=libsm
-pkgver=1.1.0
+pkgver=1.2.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')
+depends=('libice' 'util-linux-ng')
+makedepends=('xorg-util-macros' 'xtrans')
options=('!libtool')
source=(${url}/releases/individual/lib/libSM-${pkgver}.tar.bz2)
-md5sums=('05a04c2b6382fb0054f6c70494e22733')
+sha1sums=('f78bc72f0b3ec26cbf980f84f014422ba854544d')
build() {
- cd ${startdir}/src/libSM-${pkgver}
- ./configure --prefix=/usr --sysconfdir=/etc || return 1
+ cd "${srcdir}/libSM-${pkgver}"
+ ./configure --prefix=/usr --sysconfdir=/etc
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
}
+package() {
+ cd "${srcdir}/libSM-${pkgver}"
+ make DESTDIR="${pkgdir}" install || return 1
+
+ install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+}
+