aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/muffin/APKBUILD
blob: c1330141cc6464086acdda5fcb842ff9fcd02b1f (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=muffin
pkgver=2.0.5
pkgrel=1
pkgdesc="Cinnamon window manager based on Mutter"
url="https://github.com/linuxmint/muffin"
arch="all"
license="GPL"
depends=""
depends_dev="glib-dev dconf-dev libcanberra-dev gobject-introspection-dev gtk+3.0-dev
	cinnamon-desktop-dev clutter-dev startup-notification-dev"
makedepends="$depends_dev autoconf automake libtool gnome-common intltool gnome-doc-utils
	zenity"
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/muffin/archive/$pkgver.tar.gz"

_builddir="$srcdir/muffin-$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"
	./autogen.sh \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--disable-static \
		--disable-schemas-compile \
		|| return 1
	make || return 1
}

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

md5sums="80e47a1393389f79b968d3cc7180c997  muffin-2.0.5.tar.gz"
sha256sums="81a57d452ea88ea926b284248033f021960400b3b9d13f5a334a77cf3bd4c7ee  muffin-2.0.5.tar.gz"
sha512sums="5d19c58b2ff53fec906bfe99f7431f673316cd9adb77d2ee1f8d27b65f071b94004ce81f439e458713e7476663300bb437674fbde28b0492ca888de040d04cd8  muffin-2.0.5.tar.gz"