summaryrefslogtreecommitdiff
path: root/distro/archlinux/PKGBUILD
blob: a80df7a87b7d44d807935b066d56df878deed4f1 (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
pkgname=mate-menus
pkgver=1.1.0
pkgrel=1
pkgdesc="MATE menu specifications"
arch=('i686' 'x86_64')
license=('GPL')
depends=('glib2' 'python2')
makedepends=('intltool' 'gobject-introspection')
options=('!emptydirs' '!libtool')
source=(http://sourceforge.net/projects/matede/files/${pkgver}/${pkgname}.tar.gz/download)
sha256sums=('c9ab6dec9b0157bbd3cd7618839fbbf30d6ddcee231c14e46cd267c2b56601d4')
url="http://matsusoft.com.ar/projects"
groups=('mate')

build() {
    cd "${srcdir}/${pkgname}"
    PYTHON=/usr/bin/python2 ./autogen.sh \
        --prefix=/usr \
        --sysconfdir=/etc \
        --localstatedir=/var  \
        --enable-python \
        --disable-static || return 1
    make || return 1
}

package() {
    cd "${srcdir}/${pkgname}"
    make DESTDIR="${pkgdir}" install || return 1
}