diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-05-15 17:59:17 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-05-15 18:03:22 +0000 |
commit | e6cf609d68a9e131abadda094d0aea3ed4d8a6ca (patch) | |
tree | 27c52d95da2a8981beb4b7aef4fd24ce89bbe946 | |
parent | a36dd3d268150cb977ccb9989c0ca5eec267c988 (diff) | |
download | alpine_aports-e6cf609d68a9e131abadda094d0aea3ed4d8a6ca.tar.bz2 alpine_aports-e6cf609d68a9e131abadda094d0aea3ed4d8a6ca.tar.xz alpine_aports-e6cf609d68a9e131abadda094d0aea3ed4d8a6ca.zip |
main/claws-mail: upgrade to 3.9.1 and add many plugin subpackages
-rw-r--r-- | main/claws-mail/APKBUILD | 143 |
1 files changed, 118 insertions, 25 deletions
diff --git a/main/claws-mail/APKBUILD b/main/claws-mail/APKBUILD index 38f0433fa9..c0c7b9c7ca 100644 --- a/main/claws-mail/APKBUILD +++ b/main/claws-mail/APKBUILD | |||
@@ -1,20 +1,39 @@ | |||
1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> | 1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> |
2 | pkgname=claws-mail | 2 | pkgname=claws-mail |
3 | pkgver=3.9.0 | 3 | pkgver=3.9.1 |
4 | pkgrel=1 | 4 | pkgrel=0 |
5 | pkgdesc="A GTK+ based e-mail client." | 5 | pkgdesc="A GTK+ based e-mail client." |
6 | url="http://www.claws-mail.org" | 6 | url="http://www.claws-mail.org" |
7 | arch="all" | 7 | arch="all" |
8 | license="GPL3" | 8 | license="GPL3" |
9 | subpackages="$pkgname-dev $pkgname-doc $pkgname-lang | 9 | subpackages="$pkgname-dev $pkgname-doc $pkgname-lang |
10 | $pkgname-plugins-spamassassin:spamassassin | 10 | $pkgname-plugins-acpi-notifier:_acpi |
11 | $pkgname-plugins-pgp:pgp | 11 | $pkgname-plugins-address-keeper:_address_keeper |
12 | $pkgname-plugins-smime:smime | 12 | $pkgname-plugins-archive:_archive |
13 | $pkgname-plugins-att-remove:_att_remover | ||
14 | $pkgname-plugins-attatchwarner:_attatchwarner | ||
15 | $pkgname-plugins-clamd:_clamd | ||
16 | $pkgname-plugins-fetchinfo:_fetchinfo | ||
17 | $pkgname-plugins-mailmbox:_mailmbox | ||
18 | $pkgname-plugins-notification:_notification | ||
19 | $pkgname-plugins-pdf-viewer:_pdf | ||
20 | $pkgname-plugins-perl:_perl | ||
21 | $pkgname-plugins-pgp:_pgp | ||
22 | $pkgname-plugins-python:_python | ||
23 | $pkgname-plugins-rssyl:_rssyl | ||
24 | $pkgname-plugins-smime:_smime | ||
25 | $pkgname-plugins-spamassassin:_spamassassin | ||
26 | $pkgname-plugins-spamreport:_spamreport | ||
27 | $pkgname-plugins-tnef:_tnef | ||
28 | $pkgname-plugins-vcalendar:_vcalendar | ||
13 | " | 29 | " |
14 | 30 | ||
15 | makedepends="gtk+-dev openssl-dev startup-notification-dev enchant-dev | 31 | makedepends="gtk+-dev openssl-dev startup-notification-dev enchant-dev |
16 | libgcrypt-dev libsm-dev gnutls-dev curl-dev dbus-glib-dev | 32 | libgcrypt-dev libsm-dev gnutls-dev curl-dev dbus-glib-dev |
17 | libetpan-dev openldap-dev gpgme-dev" | 33 | libetpan-dev openldap-dev gpgme-dev libsoup-dev perl-dev |
34 | poppler-gtk-dev python-dev py-gtk-dev libarchive-dev libnotify-dev | ||
35 | pinentry-gtk spamassassin | ||
36 | " | ||
18 | depends="aspell-en" | 37 | depends="aspell-en" |
19 | install= | 38 | install= |
20 | source="http://downloads.sourceforge.net/sourceforge/sylpheed-claws/$pkgname-$pkgver.tar.bz2 | 39 | source="http://downloads.sourceforge.net/sourceforge/sylpheed-claws/$pkgname-$pkgver.tar.bz2 |
@@ -37,14 +56,15 @@ build() { | |||
37 | --enable-enchant \ | 56 | --enable-enchant \ |
38 | --enable-gnutls \ | 57 | --enable-gnutls \ |
39 | --enable-ldap \ | 58 | --enable-ldap \ |
40 | --disable-dillo-viewer-plugin \ | ||
41 | --disable-crash-dialog \ | 59 | --disable-crash-dialog \ |
42 | --enable-pgpmime-plugin \ | 60 | --enable-pgpmime-plugin \ |
43 | --enable-spamassassin-plugin \ | 61 | --enable-spamassassin-plugin \ |
44 | --disable-bogofilter-plugin \ | 62 | --disable-bogofilter-plugin \ |
45 | --enable-trayicon-plugin \ | ||
46 | --enable-compface \ | 63 | --enable-compface \ |
64 | --enable-pdf_viewer-plugin \ | ||
47 | --disable-jpilot \ | 65 | --disable-jpilot \ |
66 | --disable-bsfilter-plugin \ | ||
67 | --disable-newmail-plugin \ | ||
48 | || return 1 | 68 | || return 1 |
49 | 69 | ||
50 | # force disabling of backtrace. the core dump was more useful | 70 | # force disabling of backtrace. the core dump was more useful |
@@ -64,27 +84,100 @@ package() { | |||
64 | done | 84 | done |
65 | } | 85 | } |
66 | 86 | ||
67 | pgp() { | 87 | _plugin() { |
68 | pkgdesc="PGP plugin for signing and encrypting with Claws Mail" | 88 | pkdesc="$1" |
69 | depends="pinentry-gtk" | 89 | depends="claws-mail=$pkgver-r$pkgrel $2" |
90 | local _i= | ||
91 | shift 2 | ||
70 | mkdir -p "$subpkgdir"/usr/lib/claws-mail/plugins | 92 | mkdir -p "$subpkgdir"/usr/lib/claws-mail/plugins |
71 | mv "$pkgdir"/usr/lib/claws-mail/plugins/pgp* \ | 93 | for _i; do |
72 | "$subpkgdir"/usr/lib/claws-mail/plugins/ | 94 | mv "$pkgdir"/usr/lib/claws-mail/plugins/${_i}* \ |
95 | "$subpkgdir"/usr/lib/claws-mail/plugins/ || return 1 | ||
96 | done | ||
73 | } | 97 | } |
74 | 98 | ||
75 | spamassassin() { | 99 | _acpi() { |
76 | pkgdesc="Spamassassin plugin for Claws Mail" | 100 | _plugin "ACPI notification plugin for Claws Mail" "" acpi_notifier |
77 | depends="spamassassin" | ||
78 | mkdir -p "$subpkgdir"/usr/lib/claws-mail/plugins | ||
79 | mv "$pkgdir"/usr/lib/claws-mail/plugins/spamass* \ | ||
80 | "$subpkgdir"/usr/lib/claws-mail/plugins/ | ||
81 | } | 101 | } |
82 | 102 | ||
83 | smime() { | 103 | _address_keeper() { |
84 | pkgdesc="S/MIME support for Claws Mail" | 104 | _plugin "Never forget a typed address in Claws Mail" "" address_keeper |
85 | mkdir -p "$subpkgdir"/usr/lib/claws-mail/plugins | 105 | } |
86 | mv "$pkgdir"/usr/lib/claws-mail/plugins/smime* \ | 106 | |
87 | "$subpkgdir"/usr/lib/claws-mail/plugins/ | 107 | _archive() { |
108 | _plugin "Archiving features for Claws Mail" "" archive | ||
109 | } | ||
110 | |||
111 | _att_remover() { | ||
112 | _plugin "Attachments remover plugin for Claws Mail" "" att_remover | ||
113 | } | ||
114 | |||
115 | _attatchwarner() { | ||
116 | _plugin "Attachments warner plugin for Claws Mail" "" attachwarner | ||
117 | } | ||
118 | |||
119 | _clamd() { | ||
120 | _plugin "Use Clam AntiVirus to scan messages in Claws Mail" "" clamd | ||
121 | } | ||
122 | |||
123 | _fetchinfo() { | ||
124 | _plugin "Modify headers of downloaded messages in Claws Mail" "" \ | ||
125 | fetchinfo | ||
126 | } | ||
127 | |||
128 | _mailmbox() { | ||
129 | _plugin "Add support for mailboxes in mbox format to Claws Mail" "" \ | ||
130 | mailmbox | ||
131 | } | ||
132 | |||
133 | _notification() { | ||
134 | _plugin "Various ways to notify about new messages in Claws Mail" "" \ | ||
135 | notification | ||
136 | } | ||
137 | |||
138 | _pdf() { | ||
139 | _plugin "PDF and ghostscript viewer plugin Claws Mail" "" pdf | ||
88 | } | 140 | } |
89 | 141 | ||
90 | md5sums="4c5ac7b21f0ed17d0f6404124c2229a4 claws-mail-3.9.0.tar.bz2" | 142 | _perl() { |
143 | _plugin "Perl based extended filtering engine for Claws Mail" "" perl | ||
144 | } | ||
145 | |||
146 | _pgp() { | ||
147 | _plugin "PGP plugin for signing and encrypting with Claws Mail" \ | ||
148 | "pinentry-gtk" pgp | ||
149 | } | ||
150 | |||
151 | _python() { | ||
152 | _plugin "Python plugin for Claws Mail" "" python | ||
153 | } | ||
154 | |||
155 | _rssyl() { | ||
156 | _plugin "RSS plugin for Claws Mail" "" rssyl | ||
157 | } | ||
158 | |||
159 | _smime() { | ||
160 | _plugin "S/MIME support for Claws Mail" "claws-mail-plugins-pgp" smime | ||
161 | } | ||
162 | |||
163 | _spamassassin() { | ||
164 | _plugin "Spamassassin plugin for Claws Mail" "spamassassin" spamass | ||
165 | } | ||
166 | |||
167 | _spamreport() { | ||
168 | _plugin "Report spam mail to various places with Claws Mail" "" \ | ||
169 | spamreport | ||
170 | } | ||
171 | |||
172 | _tnef() { | ||
173 | _plugin "TNEF message parsing for Claws Mail" "" tnef_parse | ||
174 | } | ||
175 | |||
176 | _vcalendar () { | ||
177 | _plugin "Handling of vCalendar messages in Claws Mail" "" vcalendar | ||
178 | } | ||
179 | |||
180 | |||
181 | md5sums="8adc734912ff1b83545cb12850100473 claws-mail-3.9.1.tar.bz2" | ||
182 | sha256sums="376e535aac746dccbd8871c6f3ff6ced3010b5f7c048f4e3d18e66dfb5622910 claws-mail-3.9.1.tar.bz2" | ||
183 | sha512sums="527a19a8604672e2657a6c923bb24332a7c32f08532a970e7916621d32269643f9211af3194e75572df03f594a0c127999b6ac5de363ba7d69fa4cf2450b58ab claws-mail-3.9.1.tar.bz2" | ||