1 # Maintainer: nblock <nblock [/at\] archlinux DOT us>
2 # Contributor: Dave Nguyen <diendien@gmail.com>
5 pkgver=latest_snapshot #this is a modified version of 0.6 that works with tb-3.1
7 pkgdesc="Make Thunderbird look and behave like Vim"
8 url="http://vimperator.org/muttator"
11 depends=("thunderbird>=3.0")
12 source=(http://vimperator-labs.googlecode.com/files/${pkgname}-${pkgver/_/-}.xpi)
13 md5sums=('6e1285ac5a0ebb50b47174064132050b')
17 #define extension id and grab version number
18 _extensionId="muttator@mozdev.org"
19 _thunderbirdVersion=`thunderbird -v |cut -d' ' -f3`
20 _thunderbirdVersion=${_thunderbirdVersion%.*}
22 mkdir -p ${pkgdir}/usr/lib/thunderbird-${_thunderbirdVersion}/extensions/${_extensionId}
23 install -Dm644 License.txt ${pkgdir}/usr/share/licenses/${pkgname}/License.txt
24 rm ${pkgname}-${pkgver/_/-}.xpi
28 find -type d -exec chmod 0755 \{\} \+
29 find -type f -exec chmod 0644 \{\} \+
31 cp -R * ${pkgdir}/usr/lib/thunderbird-${_thunderbirdVersion}/extensions/${_extensionId}
34 # vim:set ts=2 sw=2 et: