summaryrefslogtreecommitdiff
path: root/community/gpg-crypter/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/gpg-crypter/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/gpg-crypter/PKGBUILD')
-rw-r--r--community/gpg-crypter/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/gpg-crypter/PKGBUILD b/community/gpg-crypter/PKGBUILD
new file mode 100644
index 000000000..88787c6d0
--- /dev/null
+++ b/community/gpg-crypter/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 9138 2010-01-23 20:04:16Z jlichtblau $
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com>
+# Contributor: lp76 <l.peduto@gmail.com>
+
+pkgname=gpg-crypter
+pkgver=0.3.5
+pkgrel=4
+pkgdesc="A graphical front-end to GnuPG(GPG) using the GTK2 toolkit and libgpgme"
+arch=('i686' 'x86_64')
+url="http://gpg-crypter.sourceforge.net/"
+license=('GPL')
+depends=('gtk2' 'gpgme')
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz
+ $pkgname.desktop)
+md5sums=('be33140ae205b8a3f37217c1c2c0737a'
+ 'a2a226ff44eb02cdab7bee46864dea6d')
+
+build() {
+ cd ${srcdir}/$pkgname-$pkgver
+
+ ./configure --prefix=/usr
+ make || return 1
+ make DESTDIR=${pkgdir} install
+
+# icon
+ install -Dm644 ${srcdir}/$pkgname-$pkgver/pixmaps/$pkgname.png \
+ ${pkgdir}/usr/share/pixmaps/$pkgname.png || return 1
+
+# .desktop file
+ install -Dm644 ${srcdir}/$pkgname.desktop \
+ ${pkgdir}/usr/share/applications/$pkgname.desktop || return 1
+
+# delete unneeded icon
+ rm -rf ${pkgdir}/usr/share/$pkgname || return 1
+}