summaryrefslogtreecommitdiff
path: root/community/lxlauncher/PKGBUILD
blob: 63592c1d1d663346e3a85c1bb6bd265ae569e3e5 (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 96678 2013-09-03 01:34:25Z bgyorgy $
# Maintainer:  Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> 
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>

pkgname=lxlauncher
pkgver=0.2.2
pkgrel=4
pkgdesc='Open source clone of the Asus launcher for EeePC'
arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url='http://lxde.org/'
groups=('lxde')
depends=('gtk2' 'startup-notification' 'lxmenu-data' 'menu-cache')
makedepends=('intltool')
source=(http://downloads.sourceforge.net/sourceforge/lxde/$pkgname-$pkgver.tar.gz
        fix-empty-launcher.patch)
md5sums=('16df627447838b170a72cc3a9ee21497'
         '4dd715f9cccf04ef87c662cee1dcb798')

prepare() {
  cd $pkgname-$pkgver
  # Fix empty launcher
  patch -Np1 -i ../fix-empty-launcher.patch
}

build() {
  cd $pkgname-$pkgver
  ./configure --sysconfdir=/etc --prefix=/usr
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}