summaryrefslogtreecommitdiff
path: root/community/ude/PKGBUILD
blob: 4a6a50f1a55087febc4e97bb3e5d1379681404cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $Id: PKGBUILD 90591 2013-05-13 09:59:42Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: eric <eric@archlinux.org>
# Contributor: dorphell <dorphell@gmx.net>

pkgname=ude
pkgver=0.2.11
pkgrel=1
pkgdesc="Unix Desktop Environment (GUI desktop environment)"
arch=('x86_64' 'i686')
license=('GPL')
depends=('libjpeg' 'libxmu' 'libxpm' 'bash')
makedepends=('gendesk')
url="http://udeproject.sourceforge.net/index.shtml"
source=(http://downloads.sourceforge.net/udeproject/uwm-$pkgver.tar.gz)
md5sums=('d4952a7edffd30ac07f32fce244c86d7')

build() {
  cd "$srcdir"
  gendesk

  cd "uwm-$pkgver"
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/uwm-$pkgver"

  mkdir -p $pkgdir/etc/X11/sessions
  make prefix=$pkgdir/usr install
  install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/etc/X11/sessions"
  install -Dm644 "$srcdir/$pkgname.png" \
    "$pkgdir/usr/share/pixmaps/$pkgname.png"
  mv $pkgdir/usr/doc $pkgdir/usr/share/
}