desktop/trojita/PKGBUILD
2016-01-23 13:49:58 +01:00

31 lines
780 B
Bash

pkgname=trojita
pkgver=0.6
pkgrel=1
pkgdesc="Trojita is a Qt IMAP e-mail client."
arch=('x86_64')
url="http://trojita.flaska.net"
license=('GPL')
depends=('qt5-webkit' 'qt5-tools' 'qt5-translations' 'qtkeychain-qt5' 'zlib')
makedepends=('cmake')
categories=('network')
screenshot=('http://trojita.flaska.net/trojita-2013-01-09--overview.png')
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2")
sha256sums=('4c1083f48b51cc37bb318c5a8ada67b64b38ed95d8ad30b4621755fcf45efa10')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
mkdir -p build
}
build() {
cd "$srcdir/$pkgname-$pkgver/build"
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr ..
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"/build/
make DESTDIR=${pkgdir} install
}