summaryrefslogtreecommitdiff
path: root/community/gnome-main-menu/PKGBUILD
blob: cd589d016bce4d7f6068514cd54405ceb273ea81 (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
# $Id: PKGBUILD 106913 2014-03-10 10:24:11Z flexiondotorg $
# Maintainer : Martin Wimpress <code@flexion.org>

pkgname=gnome-main-menu
pkgver=1.8.0
pkgrel=1
pkgdesc="A mate-panel applet similar to the traditional main-menu, but with a few additions."
url="http://mate-desktop.org"
arch=('i686' 'x86_64')
license=('GPL')
depends=('caja' 'libunique' 'mate-control-center' 'mate-desktop' 'mate-panel')
makedepends=('mate-common' 'yelp-tools')
optdepends=('yelp: for reading help documents')
options=('!emptydirs')
source=("http://pub.mate-desktop.org/releases/1.8/${pkgname}-${pkgver}.tar.xz")
sha1sums=('287e904506ae2796e84b556f76e3b12274c1c89f')
install=${pkgname}.install

build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    ./configure \
        --prefix=/usr \
        --libexecdir=/usr/lib/${pkgname} \
        --sysconfdir=/etc \
        --localstatedir=/var \
        --enable-caja-extension \
        --disable-static
    make
}

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