Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD for lightdm 0.4.0

By: xiaq on Jun 19th, 2011  |  syntax: Bash  |  size: 1.36 KB  |  views: 172  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. pkgname=lightdm
  2. pkgver=0.4.0
  3. pkgrel=1
  4. pkgdesc="A lightweight display manager"
  5. arch=('i686' 'x86_64')
  6. url="https://launchpad.net/lightdm"
  7. license=('GPL3' 'LGPL3')
  8. source=("http://people.ubuntu.com/~robert-ancell/lightdm/releases/$pkgname-$pkgver.tar.gz"
  9. lightdm
  10. lightdm.service
  11. )
  12. depends=('gnome-themes-standard' 'gnome-icon-theme' 'libwebkit' 'dbus-glib' 'gtk2' 'libxklavier' 'intltool')
  13. options=(!libtool)
  14. optdepends=('xorg-server-xephyr: run lightdm in test mode' )
  15. makedepends=('gnome-doc-utils' 'gobject-introspection' 'pkg-config')
  16.  
  17. build() {
  18.   cd $srcdir/$pkgname-$pkgver
  19.      ./configure --prefix=/usr \
  20.      --with-dbus-sys=/etc/dbus-1/system.d \
  21.      --with-log-dir=/var/log/lightdm \
  22.      --with-config-file=/etc/lightdm.conf \
  23.      --with-xauth-dir=/var/run/lightdm/authority \
  24.      --enable-introspection=no \
  25.      --sysconfdir=/etc --disable-static --libexecdir=/usr/lib/lightdm
  26.    make || return 1
  27. }
  28.  
  29. package() {
  30.   cd $srcdir/$pkgname-$pkgver
  31.   make DESTDIR=$pkgdir install
  32.   mkdir -p $pkgdir/etc/rc.d
  33.   mkdir -p $pkgdir/lib/systemd/system/
  34.  # init services file
  35.   install -m755 ../lightdm $pkgdir/etc/rc.d
  36.   install -m755 ../lightdm.service $pkgdir/lib/systemd/system/
  37.  
  38.   rm -r $pkgdir/etc/init
  39.  
  40. }
  41.  
  42. md5sums=('48aeeeb5b0dc7d95b0d62b7ef1ffdcd1'
  43.          '990fdeb198f2ef928274bde0b9d2df99'
  44.          '7458f1ed463bace911d8292a1615c85f')