summaryrefslogtreecommitdiff
path: root/community/gnome-menus2/PKGBUILD
blob: 90495aed221bee3c01b6825680f57da0f0a1b463 (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
# $Id: PKGBUILD 80041 2012-11-15 18:34:49Z bgyorgy $
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Jan de Groot <jan@archlinux.org>

pkgname=gnome-menus2
_pkgname=gnome-menus
pkgver=3.0.1
pkgrel=2
pkgdesc="Library for the Desktop Menu Specification (legacy version)"
arch=('i686' 'x86_64' 'mips64el')
depends=('glib2' 'python2')
makedepends=('intltool' 'gobject-introspection')
options=('!libtool')
license=('LGPL')
url="http://www.gnome.org/"
source=(http://ftp.gnome.org/pub/gnome/sources/$_pkgname/${pkgver%.*}/$_pkgname-$pkgver.tar.bz2)
sha256sums=('579c119c26f37781f66708e867ea45b3c37589b3b69e5b32d33e9bdb944165f0')

build() {
  cd "$srcdir/$_pkgname-$pkgver"

  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
              --disable-static \
              PYTHON=/usr/bin/python2
  make
}

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

  make -C libmenu DESTDIR="$pkgdir" install
  make -C python DESTDIR="$pkgdir" install
}