blob: 0211677c1787371a6041aa3c4ff6a1854cd38771 (
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
# $Id: PKGBUILD 278826 2016-10-15 00:15:40Z heftig $
# Contributor: Jan de Groot <jgc@archlinux.org>
# Maintainer: Ian Hernández <badwolfie@archlinux.info>
# Maintainer: Albert Vaca Cintora <albertvaka@gmail.com>
_pkgbase=nautilus
pkgbase=nautilus-typeahead
pkgname=(nautilus-typeahead libnautilus-extension-typeahead)
pkgver=3.26.0
pkgrel=1
pkgdesc="Default file manager for GNOME - Patched to bring back the 'typeahead find' feature"
url="https://wiki.gnome.org/Apps/Nautilus"
arch=(i686 x86_64)
license=(GPL)
depends=(libexif gnome-desktop exempi gvfs dconf libtracker-sparql nautilus-sendto gnome-autoar)
makedepends=(intltool gobject-introspection python packagekit python2 gnome-common git gtk-doc meson ninja)
options=(!emptydirs)
_commit=69942c754ea4e45ab0d32bcbc9e29f1c08da8990 # tags/3.26.0
source=("git+https://gitlab.gnome.org/GNOME/nautilus.git#commit=$_commit"
nautilus-restore-typeahead.patch)
sha256sums=('SKIP'
'17213656a016da2aaed14ca5c3cc9df30ad76ea59847b50dce4feb77619af274')
prepare() {
mkdir -p build libne/usr/{lib,share}
ls
cd $_pkgbase
git submodule init
git submodule update
patch -p1 -i ../nautilus-restore-typeahead.patch
}
pkgver() {
cd $_pkgbase
git describe --tags | sed 's/-/+/g'
}
build() {
cd build
export LANG=en_US.UTF-8
meson --prefix=/usr --buildtype=release ../nautilus \
--sysconfdir=/etc \
-Denable-exif=true \
-Denable-xmp=true \
-Denable-gtk-doc=true \
-Denable-selinux=false
ninja
}
package_nautilus-typeahead() {
depends+=(libnautilus-extension)
install=nautilus.install
conflicts=(nautilus)
provides=(nautilus)
groups=(gnome)
cd build
DESTDIR="$pkgdir" ninja install
### Split libnautilus-extension
cd ../libne
mv "$pkgdir"/usr/include usr
mv "$pkgdir"/usr/lib/{girepository-1.0,libnautilus-extension*,pkgconfig} usr/lib
mv "$pkgdir"/usr/share/{gir-1.0,gtk-doc} usr/share
}
package_libnautilus-extension-typeahead() {
pkgdesc="Library for extending the $pkgdesc"
conflicts=(libnautilus-extension)
provides=(libnautilus-extension)
depends=(gtk3)
mv libne/usr "$pkgdir"
}
|