updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / gnupgshell / PKGBUILD
blob7e9108e22e008a06b6b97e7124c879f340fd566b
1 # Maintainer: alx78 <alxg78@gmail.com>
2 # Contributor: alx78 <alxg78@gmail.com>
4 pkgname=gnupgshell
5 _pkgname=wxGnuPGShell
6 pkgver=1.0.0
7 pkgrel=1
8 pkgdesc="A graphical user interface for the GnuPG"
9 arch=('i686' 'x86_64')
10 url="http://www.tech-faq.com/gnupg-shell.html"
11 license=('GPL')
12 groups=()
13 depends=('wxgtk' 'gnupg')
14 makedepends=('wxgtk')
15 source=(http://www.tech-faq.com/gnupg-shell/$pkgname-$pkgver.tar.gz)
16 md5sums=('c350b3580aaeb141083e89efe5d47459')
18 build() {
19   cd $srcdir/$pkgname/build/
20   make
23 package() {
24   msg "Starting make..."
26   mkdir -p $pkgdir/usr/share/$pkgname
27   mkdir -p $pkgdir/usr/bin
28   mkdir -p $pkgdir/usr/share/applications/
30   cd $srcdir/$pkgname/build/
31   install -m 755  $srcdir/$pkgname/bin/$_pkgname $pkgdir/usr/share/$pkgname/
32   ln -s /usr/share/$pkgname/$_pkgname $pkgdir/usr/bin/$_pkgname
33   mkdir $pkgdir/usr/share/$pkgname/art/ && chmod 755 $pkgdir/usr/share/$pkgname/art/
34   install -m 644 $srcdir/$pkgname/bin/art/*.ico $pkgdir/usr/share/$pkgname/art/
35   install -Dm 644 $srcdir/../gnupgshell.desktop $pkgdir/usr/share/applications/gnupgshell.desktop