diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-04-09 03:38:40 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-04-09 03:38:40 +0000 |
commit | 10cc2a54e50ad4aeffd7152937670c8673a096f9 (patch) | |
tree | 21427b4f0874273d2e756a8c2db56f8b0688d196 /community/trojita | |
parent | 5351a11c6751fcbfd64ba00a4c4b8b0109b45b59 (diff) |
Wed Apr 9 03:34:06 UTC 2014
Diffstat (limited to 'community/trojita')
-rw-r--r-- | community/trojita/PKGBUILD | 31 | ||||
-rw-r--r-- | community/trojita/trojita.install | 12 |
2 files changed, 43 insertions, 0 deletions
diff --git a/community/trojita/PKGBUILD b/community/trojita/PKGBUILD new file mode 100644 index 000000000..56aada49f --- /dev/null +++ b/community/trojita/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 108969 2014-04-08 11:05:06Z tredaelli $ +# Maintainer: Timothy Redaelli <timothy.redaelli@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 +} diff --git a/community/trojita/trojita.install b/community/trojita/trojita.install new file mode 100644 index 000000000..987eb70a1 --- /dev/null +++ b/community/trojita/trojita.install @@ -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 |