summaryrefslogtreecommitdiffstats
path: root/testing/nemo/APKBUILD
blob: 5c5df8e387e8a2faaf98c32a0fab89393ae99c73 (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
55
56
57
58
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=nemo
pkgver=2.0.8
pkgrel=0
pkgdesc="Cinnamon file manager (Nautilus fork)"
url="https://github.com/linuxmint/nemo"
arch="all"
license="GPL"
depends="gnome-icon-theme"
depends_dev="glib-dev gtk+3.0-dev gobject-introspection-dev dconf-dev libexif-dev
	cinnamon-desktop-dev libnotify-dev"
makedepends="$depends_dev autoconf automake libtool gnome-common intltool gtk-doc"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/nemo/tarball/$pkgver
	stop-gtk-stock-deprecated-errors-for-gtk-3.10.patch"

_builddir="$srcdir/linuxmint-nemo-562e147"

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-schemas-compile \
		--disable-gtk-doc-html \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm -f "$pkgdir"/usr/lib/*.la
}

md5sums="2e1b4900c37fa36a95f0c2373171b5a4  nemo-2.0.8.tar.gz
f8e90e6ea69e5cfff17e0557c9300d02  stop-gtk-stock-deprecated-errors-for-gtk-3.10.patch"
sha256sums="6a40868e46fd2ed6c27e694e76c160996d16e2d27681bf5126e6b0e647c24033  nemo-2.0.8.tar.gz
9a30dc0168fd5fbd9c3d9a64924f505f6a3ec02b1a7853b28920b6e96bc575b1  stop-gtk-stock-deprecated-errors-for-gtk-3.10.patch"
sha512sums="75a3fee5d7f65cee3aa5961de6b9983c04d58d22943529bbfe08187e9c61cb4d3b39ceb2f76ba488c690836ddd10f7af66b02856de652d220dd525197c1753d8  nemo-2.0.8.tar.gz
3fd37210ac2516320ac525c7e9a708ecfe3f1c9da23fed4c85dd15aa706d768c44153689351d69b578a40090d39ac4b19c6fdb609bc4020266ed290d5d0473bc  stop-gtk-stock-deprecated-errors-for-gtk-3.10.patch"