summaryrefslogtreecommitdiff
path: root/extra/slim/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/slim/PKGBUILD')
-rw-r--r--extra/slim/PKGBUILD22
1 files changed, 15 insertions, 7 deletions
diff --git a/extra/slim/PKGBUILD b/extra/slim/PKGBUILD
index 0451efc72..27a492819 100644
--- a/extra/slim/PKGBUILD
+++ b/extra/slim/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 184434 2013-05-06 19:39:43Z foutrelis $
+# $Id: PKGBUILD 195897 2013-10-03 23:13:04Z foutrelis $
# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Thayer Williams <thayer@archlinux.org>
@@ -6,27 +6,35 @@
# Contributor: Hugo Ideler <hugoideler@dse.nl>
pkgname=slim
-pkgver=1.3.5
-pkgrel=3
+pkgver=1.3.6
+pkgrel=1
pkgdesc="Desktop-independent graphical login manager for X11"
arch=('i686' 'x86_64')
url="http://slim.berlios.de/"
license=('GPL2')
-depends=('pam' 'libxmu' 'libpng' 'libjpeg' 'libxft' 'xorg-xauth')
+depends=('pam' 'libxmu' 'libpng' 'libjpeg' 'libxft' 'libxrandr' 'xorg-xauth')
makedepends=('cmake' 'freeglut')
backup=('etc/slim.conf' 'etc/logrotate.d/slim' 'etc/pam.d/slim')
source=(http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.gz
+ slim-1.3.6-fix-libslim-libraries.patch
slim.pam
slim.logrotate)
-sha256sums=('818d209f51e2fa8d5b94ef75ce90a7415be48b45e796d66f8083a9532b655629'
+sha256sums=('21defeed175418c46d71af71fd493cd0cbffd693f9d43c2151529125859810df'
+ '3dfa697f8c058390c7e02e7aba769475057ef8ddde945dc43b8cb7f9724dbda0'
'b9a77a614c451287b574c33d41e28b5b149c6d2464bdb3a5274799842bca51a4'
'5bf44748b5003f2332d8b268060c400120b9100d033fa9d35468670d827f6def')
-build() {
+prepare() {
cd "$srcdir/$pkgname-$pkgver"
# Fix installation path of slim.service
- sed -i 's|usr/lib/systemd/system|/&|' CMakeLists.txt
+ sed -i 's|set(LIBDIR "/lib")|set(LIBDIR "/usr/lib")|' CMakeLists.txt
+
+ patch -Np1 -i "$srcdir/slim-1.3.6-fix-libslim-libraries.patch"
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \