aboutsummaryrefslogblamecommitdiffstats
path: root/community/mozo/APKBUILD
blob: cbb96b42f8d409e8b7e05acdf30e6692cc126914 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                                      
             






                                          
                                                                           




















                                                                                  









                                                    


                                                                                                                                                                 
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mozo
pkgver=1.14.0
pkgrel=0
pkgdesc="A menu editor for MATE"
url="https://github.com/mate-desktop/mozo"
arch="noarch"
license="GPLv2"
depends=""
depends_dev=""
makedepends="$depends_dev intltool mate-menus-dev glib-dev py-gobject3-dev"
install=""
subpackages="$pkgname-doc $pkgname-lang"
source="http://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz"

_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	./configure \
                --build=$CBUILD \
                --host=$CHOST \
                --sysconfdir=/etc \
                --prefix=/usr \
                || return 1
        make || return 1
}

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

md5sums="4d0dd62dd11c36d94ada9564e0f41c09  mozo-1.14.0.tar.xz"
sha256sums="07808ceffa7b63c7971ce44c3a714ed74f85061a3e08a203bfddb166826e593c  mozo-1.14.0.tar.xz"
sha512sums="9c2152ff1325629a8e68cdd015c70550127b82bb9baaf797109f01d92367687227dd48fbcd6ae0a1777afe9d9b5b2baa2890b308b9b8618c13dc39481a0fb3e5  mozo-1.14.0.tar.xz"