summaryrefslogtreecommitdiff
path: root/testing/slim/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2012-06-08 19:37:29 +0000
committerParabola <dev@list.parabolagnulinux.org>2012-06-08 19:37:29 +0000
commit8735a5c54cf26dd5b5b686850f800a4aed49ff78 (patch)
treeac7404dae428201298c7fed6e3b5360443763694 /testing/slim/PKGBUILD
parent7d11e9346ebd0f9c378952caee0c82d6ca815f4e (diff)
Fri Jun 8 19:37:17 UTC 2012
Diffstat (limited to 'testing/slim/PKGBUILD')
-rw-r--r--testing/slim/PKGBUILD65
1 files changed, 0 insertions, 65 deletions
diff --git a/testing/slim/PKGBUILD b/testing/slim/PKGBUILD
deleted file mode 100644
index 7237c3a47..000000000
--- a/testing/slim/PKGBUILD
+++ /dev/null
@@ -1,65 +0,0 @@
-# $Id: PKGBUILD 160004 2012-05-27 19:50:08Z tpowa $
-# Maintainer: Gaetan Bisson <bisson@archlinux.org>
-# Contributor: Thayer Williams <thayer@archlinux.org>
-# Contributor: Alexander Fehr <pizzapunk gmail com>
-# Contributor: Hugo Ideler <hugoideler@dse.nl>
-
-pkgname=slim
-pkgver=1.3.3
-pkgrel=4
-pkgdesc='Desktop-independent graphical login manager for X11'
-arch=('i686' 'x86_64')
-url='http://slim.berlios.de/'
-license=('GPL2')
-depends=('consolekit' 'pam' 'libxmu' 'libpng' 'libjpeg' 'libxft')
-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"
- 'rc.d'
- 'pam.d'
- 'logrotate'
- 'slim.service'
- 'ptr_pam.patch'
- 'session-name.patch'
- 'fix-numlock-1.3.3.patch')
-
-install=install
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -p1 -i ../ptr_pam.patch # FS#23995: pointer mishandling confuses PAM
- patch -p1 -i ../session-name.patch # FS#26693: fix default session name
- patch -p1 -i ../fix-numlock-1.3.3.patch # FS#29818: fix numlock handling
- cd ${srcdir}
- mkdir build
- cd build
- cmake ../${pkgbase}-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_SKIP_RPATH=ON \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DUSE_PAM=yes -DUSE_CONSOLEKIT=yes
- make
-}
-
-package() {
- cd ${srcdir}/build/
- make DESTDIR="${pkgdir}" install
-
- install -D -m755 ../rc.d "${pkgdir}"/etc/rc.d/slim
- install -D -m644 ../pam.d "${pkgdir}"/etc/pam.d/slim
- install -D -m644 ../logrotate "${pkgdir}"/etc/logrotate.d/slim
-
- # Provide sane defaults
- sed -i 's|#xserver_arguments.*|xserver_arguments -nolisten tcp vt07|' "${pkgdir}"/etc/slim.conf
- sed -i 's|/var/run/slim.lock|/var/lock/slim.lock|' "${pkgdir}"/etc/slim.conf
- # install systemd files
- install -D -m644 ${srcdir}/slim.service ${pkgdir}/usr/lib/systemd/system/slim.service
-}
-md5sums=('ce53e44c1e4a2eacf5bb7688ee2a5de8'
- 'd8ea9c4dee2811524b67f4f666311a1f'
- 'ebfff3417058619a1328284ae0e2f48e'
- '43da096480bf72c3ccec8ad8400f34f0'
- '7c0bf1fb6292537e2c63ec04f8532079'
- 'ae4b237d472ec5d373e30080aa0ff804'
- 'ebcb6829028615686de7b64ceeaaf8ed'
- '6c29c93370e44ed310ff30132424b619')