summaryrefslogtreecommitdiff
path: root/distro/archlinux/PKGBUILD
blob: 344a49af149dd45476dbc524a8e759626c477dd3 (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
pkgname=mate-common
pkgver=1.2.0
pkgrel=1
pkgdesc="Common development macros for MATE"
arch=('any')
license=('GPL')
depends=()
makedepends=()
options=('!libtool')
url="http://matsusoft.com.ar/projects/mate/"
groups=('mate')
source=()
sha256sums=()

build() {
	# vamos a la carpeta arriba, dos niveles
	cd "${srcdir}/../../../"
    ./autogen.sh \
        --prefix=/usr || return 1
    make || return 1
}

package() {
    cd "${srcdir}/../../../"
    make DESTDIR="${pkgdir}" install || return 1
    ln -s mate-autogen ${pkgdir}/usr/bin/mate-autogen.sh
}