[arch-commits] Commit in (5 files)

Timothy Redaelli tredaelli at nymeria.archlinux.org
Tue Apr 8 11:03:29 UTC 2014


    Date: Tuesday, April 8, 2014 @ 13:03:29
  Author: tredaelli
Revision: 108968

Add trojita

Added:
  trojita/
  trojita/repos/
  trojita/trunk/
  trojita/trunk/PKGBUILD
  trojita/trunk/trojita.install

-----------------+
 PKGBUILD        |   31 +++++++++++++++++++++++++++++++
 trojita.install |   12 ++++++++++++
 2 files changed, 43 insertions(+)

Added: trojita/trunk/PKGBUILD
===================================================================
--- trojita/trunk/PKGBUILD	                        (rev 0)
+++ trojita/trunk/PKGBUILD	2014-04-08 11:03:29 UTC (rev 108968)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: birdflesh <antkoul at gmail dot com>
+
+pkgname=trojita
+pkgver=0.4.1
+pkgrel=1
+pkgdesc="A QT IMAP email client"
+arch=('i686' 'x86_64')
+url="http://trojita.flaska.net"
+license=('GPL')
+makedepends=('cmake' 'automoc4')
+depends=('qtwebkit')
+install=$pkgname.install
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2)
+md5sums=('130c9e51bb71564511ab123f88236850')
+
+build() {
+  mkdir -p build
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DQT_QMAKE_EXECUTABLE=qmake-qt4 \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "build"
+  make DESTDIR="$pkgdir" install
+}


Property changes on: trojita/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: trojita/trunk/trojita.install
===================================================================
--- trojita/trunk/trojita.install	                        (rev 0)
+++ trojita/trunk/trojita.install	2014-04-08 11:03:29 UTC (rev 108968)
@@ -0,0 +1,12 @@
+post_install() {
+  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}
\ No newline at end of file




More information about the arch-commits mailing list