blob: 717f8b6f1fa7ca812decaf698a8e8cc69e73f644 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=thunar
pkgver=1.6.3
pkgrel=0
pkgdesc="File manager for Xfce"
url="http://thunar.xfce.org"
arch="all"
license="GPL2 LGPL2"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
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 \
--enable-gio-unix \
--enable-gudev \
|| 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
find "$pkgdir" -name '*.la' -delete
}
md5sums="4f10d5d5576ce5127308d6badbac3afa Thunar-1.6.3.tar.bz2
5a1e2ed692f3f95113339f5646f83af3 thunar-sendto-audacious-playlist.desktop
1131368b7360a0132d5b36ff2cae898a thunar-sendto-bluetooth.desktop"
sha256sums="9a2706f6881ac29cda9f0b0325d179153bc09e37bcbafcab9823c1c1ec89579d Thunar-1.6.3.tar.bz2
65fbb71346b0f1a34a9971b7c84824a57f1262244324b8a443b18744eb1a624d thunar-sendto-audacious-playlist.desktop
920a24b4dd89a62dfea9e657463139b9118c463cf05392cdade98ebc0727e904 thunar-sendto-bluetooth.desktop"
sha512sums="17ff9c416a11cef2def6c2f2e1623bcfe480131aa466d55c06f81772781178f6d4bab431d9906be58e391c86f2ab0c7096728961643e2091d6ab785188490382 Thunar-1.6.3.tar.bz2
dce525f22abf8e723111673b8fdad48079d5379cef49cc013383bb0944274cdd0de1dda6e8894dd8c9efb54cc9eea2baf8f4c76265665b84f3f58aeb01c72390 thunar-sendto-audacious-playlist.desktop
b4e8024e093b8e3f9bf5d460335fd9d19c1e394383bd58a7ac05c720103612dea9dde8a02f090f0af09d89e6644b292236ef257dd1790eccd627efce0577828e thunar-sendto-bluetooth.desktop"
|