summaryrefslogtreecommitdiff
path: root/distro/archlinux/PKGBUILD
blob: 5ac3fc89d45b6962d4ff24602c62228a84a784fe (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}/../../../"
    ln -s mate-autogen ${pkgdir}/usr/bin/mate-autogen.sh
    make DESTDIR="${pkgdir}" install || return 1
}