blob: 25a19785dc80bc36ff7b3a79a3106d5d3e296b23 (
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
# Maintainer: Νικόλαος Κυριάκος Φυτίλης <n-fit@live.com>
# Contributor: eadrom <eadrom@archlinux.info>
# Contributor: Martin Wimpress <code@flexion.org>
_ver=1.17
_pkgbase=caja-extensions
pkgname=('caja-extensions-common-dev' 'caja-gksu-dev' 'caja-image-converter-dev' 'caja-open-terminal-dev' 'caja-sendto-dev' 'caja-share-dev' 'caja-wallpaper-dev')
pkgver=${_ver}.0
pkgrel=1
pkgdesc="MATE extensions for Caja (GTK3 version)"
url="http://mate-desktop.org"
arch=("i686" "x86_64")
license=("GPL")
depends=("caja-dev" "dbus-glib" "gksu" "gtk3" "gupnp" "imagemagick" "samba")
groups=("mate-extra")
makedepends=("mate-common-dev" "caja-dev")
source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz")
sha1sums=("9b15862229c38445ef94afa600")
prepare() {
cd "${srcdir}"
mv "${_pkgbase}-${pkgver}" "${_pkgbase}-gtk3"
}
build() {
cd "${srcdir}/${_pkgbase}-gtk3"
PYTHON=/usr/bin/python2 ./configure \
--prefix=/usr \
--with-gtk=3.0
make
}
package_caja-extensions-common-dev() {
pkgdesc="Caja extensions common files (GTK3 version)"
conflicts=("caja-extensions-common" "caja-extensions-common-gtk3")
cd "${srcdir}/${_pkgbase}-gtk3"
make -C po DESTDIR="${pkgdir}" install
}
package_caja-gksu-dev() {
pkgdesc="Privilege granting extension for Caja using gksu (GTK3 version)"
depends=("caja-dev" "caja-extensions-common-dev" "gksu")
groups=("mate-extra")
conflicts=("caja-gksu" "caja-gksu-gtk3")
cd "${srcdir}/${_pkgbase}-gtk3"
make -C gksu DESTDIR="${pkgdir}" install
}
package_caja-image-converter-dev() {
pkgdesc="A Caja extension for simple image conversions (GTK3 version)"
depends=("caja-dev" "caja-extensions-common-dev" "imagemagick")
groups=("mate-extra")
conflicts=("caja-image-converter" "caja-image-converter-gtk3")
cd "${srcdir}/${_pkgbase}-gtk3"
make -C image-converter DESTDIR="${pkgdir}" install
}
package_caja-open-terminal-dev() {
pkgdesc="A Caja extension for opening terminals in arbitrary local paths (GTK3 version)"
depends=("caja-dev" "caja-extensions-common-dev" "glib2")
groups=("mate-extra")
conflicts=("caja-open-terminal" "caja-open-terminal-gtk3")
cd "${srcdir}/${_pkgbase}-gtk3"
make -C open-terminal DESTDIR="${pkgdir}" install
}
package_caja-sendto-dev() {
pkgdesc="A Caja extension for sending files (GTK3 version)"
depends=("caja-dev" "caja-extensions-common-dev" "dbus-glib" "glib2" "gupnp")
groups=("mate-extra")
optdepends=("pidgin: Support for sending to instant messaging networks."
"gajim: Support for sending to Jabber.")
conflicts=("caja-sendto" "caja-sendto-gtk3")
cd "${srcdir}/${_pkgbase}-gtk3"
make -C sendto DESTDIR="${pkgdir}" install
}
package_caja-share-dev() {
pkgdesc="A Caja extension to quickly share a folder (GTK3 version)"
depends=("caja-dev" "caja-extensions-common-dev" "samba")
groups=("mate-extra")
conflicts=("caja-share" "caja-share-gtk3")
cd "${srcdir}/${_pkgbase}-gtk3"
make -C share DESTDIR="${pkgdir}" install
}
package_caja-wallpaper-dev() {
pkgdesc="A Caja extension to quickly set wallpaper (GTK3 version)"
depends=('caja-dev' 'caja-extensions-common-dev')
groups=('mate-extra')
conflicts=('caja-wallpaper-dev' 'caja-wallpaper-gtk3')
cd "${srcdir}/${_pkgbase}-gtk3"
make -C wallpaper DESTDIR="${pkgdir}" install
}
|