updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / sendwithkmail-servicemenu-kde4 / PKGBUILD
blobf666de28a6d5a97c7d016de3450e12a028d121fb
1 # Maintainer: Joffrey TISSERON <tisseron.joffrey@aliceadsl.fr>
3 _shortname=sendwithkmail
4 _name=Simple+Send+as+Attachment+with+Kmail
5 _name2=send-attach
6 pkgname="$_shortname-servicemenu-kde4"
7 _number=123121
8 pkgver=4.02
9 pkgrel=1
10 pkgdesc="Send one or more selected files from Konqueror or Dolphin as attachement with Kmail."
11 arch=('i686' 'x86_64')
12 url="http://kde-apps.org/content/show.php/$_name?content=$_number"
13 license=('GPL')
14 depends=('kdelibs' 'kdepim-kmail')
15 source=("http://kde-apps.org/CONTENT/content-files/$_number-$_name2.desktop")
16 md5sums=('1057fb23bd2f91773892f2d4043862d8')
18 build() {
19    mkdir -p "$pkgdir/$(kde4-config --prefix)/share/kde4/services/ServiceMenus"
20    cp $srcdir/$_number-$_name2.desktop "$pkgdir/$(kde4-config --prefix)/share/kde4/services/ServiceMenus/$_shortname.desktop"
21    chmod 644 "$pkgdir/$(kde4-config --prefix)/share/kde4/services/ServiceMenus/$_shortname.desktop"