SHARE
TWEET

lightdm-kde-0.2.0-2 PKGBUILD

a guest Jul 25th, 2012 39 Never
  1. # Maintainer: Mladen Pejakovic <pejakm@gmail.com>
  2. # Contributor: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
  3. # Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
  4.  
  5. pkgname=lightdm-kde
  6. pkgver=0.2.0
  7. pkgrel=2
  8. pkgdesc="LightDM Greeter for KDE"
  9. arch=('i686' 'x86_64')
  10. url="https://projects.kde.org/projects/playground/base/lightdm"
  11. license=('GPL')
  12. depends=('lightdm' 'openssl' 'perl' 'phonon' 'kdelibs')
  13. makedepends=('cmake')
  14. install=lightdm-kde.install
  15. source=("ftp://ftp.kde.org/pub/kde/unstable/$pkgname/src/$pkgname-$pkgver.tar.bz2")
  16. noextract=("$pkgname-$pkgver.tar.bz2")
  17. md5sums=('da457af733b67e516808670040910f65')
  18.  
  19. build() {
  20.         [ -d "$srcdir/$pkgname-$pkgver" ] && rm -rf "$srcdir/$pkgname-$pkgver"
  21.         mkdir "$srcdir/$pkgname-$pkgver"
  22.         cd "$srcdir/$pkgname-$pkgver"
  23.  
  24.         msg "Extracting source tarball..."
  25.         tar -xaf "$srcdir/$pkgname-$pkgver.tar.bz2"
  26.  
  27.         msg "Starting build..."
  28.         cmake . -DCMAKE_INSTALL_PREFIX=/usr
  29.         make
  30. }
  31.  
  32. package() {
  33.         cd "${srcdir}/$pkgname-$pkgver"
  34.         make DESTDIR="$pkgdir" install
  35. }
  36.  
  37. # vim:set ts=2 sw=2 et:
RAW Paste Data
Top