blob: c12ffef3c08dce58adb6071222b1678ab55150c8 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=thunar
pkgver=1.3.0
pkgrel=0
pkgdesc="File manager for Xfce"
url="http://thunar.xfce.org"
arch="all"
license="GPL2 LGPL2"
subpackages="$pkgname-dev $pkgname-doc"
depends="desktop-file-utils hicolor-icon-theme shared-mime-info"
makedepends="libexif-dev xfce4-panel-dev exo-dev pcre-dev udev-dev
libnotify-dev startup-notification-dev libxfce4ui-dev dbus-glib-dev"
install=
source="http://archive.xfce.org/src/xfce/thunar/${pkgver%.*}/Thunar-$pkgver.tar.bz2
thunar-sendto-audacious-playlist.desktop
thunar-sendto-bluetooth.desktop
"
depends_dev="gtk+-dev glib-dev exo-dev"
_builddir="$srcdir"/Thunar-$pkgver
prepare() {
cd "$_builddir"
# fix icon in thunar-sendto-email.desktop
sed -i 's!internet-mail!mail-message-new!' \
plugins/thunar-sendto-email/thunar-sendto-email.desktop.in.in
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib \
--localstatedir=/var \
--disable-static \
--enable-exif \
--enable-pcre \
--enable-dbus \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
local f
make DESTDIR="$pkgdir" install || return 1
sed -i -e 's:x-directory/gnome-default-handler;::' \
"$pkgdir"/usr/share/applications/Thunar-folder-handler.desktop
for f in $source; do
case $f in
thunar-sendto*.desktop)
install -m644 "$srcdir"/$f \
"$pkgdir"/usr/share/Thunar/sendto/ || return 1
;;
esac
done
}
md5sums="ab6f728384c0d925b40afae2f41268f3 Thunar-1.3.0.tar.bz2
5a1e2ed692f3f95113339f5646f83af3 thunar-sendto-audacious-playlist.desktop
1131368b7360a0132d5b36ff2cae898a thunar-sendto-bluetooth.desktop"
|