diff options
-rw-r--r-- | abs/core/libsm/PKGBUILD | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/abs/core/libsm/PKGBUILD b/abs/core/libsm/PKGBUILD index 6bfe83f..945778b 100644 --- a/abs/core/libsm/PKGBUILD +++ b/abs/core/libsm/PKGBUILD @@ -1,29 +1,28 @@ -# $Id: PKGBUILD 97792 2010-11-01 22:14:37Z jgc $ +# $Id: PKGBUILD 151850 2012-03-03 13:43:52Z andyrtr $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=libsm -pkgver=1.2.0 +pkgver=1.2.1 pkgrel=1 pkgdesc="X11 Session Management library" -arch=(i686 x86_64) +arch=('i686' 'x86_64') 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=('f78bc72f0b3ec26cbf980f84f014422ba854544d') +sha1sums=('8d354a165e330022ffd3606aba562b8c8154213d') build() { cd "${srcdir}/libSM-${pkgver}" ./configure --prefix=/usr --sysconfdir=/etc - make || return 1 + make } + package() { cd "${srcdir}/libSM-${pkgver}" - make DESTDIR="${pkgdir}" install || return 1 + make DESTDIR="${pkgdir}" install - install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}" - install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" } - |