blob: e2c0e4aa887dca56790e74cab4a181a668a7dbc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: Marat Moustafine <moustafine-@t-tuta-d.t-io>
_pkgname=libsimplemail-qt
pkgname=$_pkgname-git
pkgver=latest
pkgrel=1
pkgdesc='An SMTP library written in C++ for Qt'
arch=('i686' 'x86_64')
_reponame=simple-mail
url=https://github.com/cutelyst/$_reponame
license=('LGPL2.1')
depends=('qt5-base')
makedepends=('cmake' 'git')
provides=($_pkgname)
conflicts=($_pkgname)
source=(git+$url.git)
sha256sums=('SKIP')
pkgver() {
cd $_reponame
git describe --long --tags | sed -r 's/^[r|v]//;s/-/+/g'
}
build () {
cd $_reponame
mkdir -p build
cd build
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
..
make
}
package() {
cd $_reponame/build
make DESTDIR=$pkgdir install
}
|