blob: be6046691231fdf7876d42b8d9a66b8c8374a107 (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Maintainer: Riley Trautman <asonix@tamu.edu>
_pkgname=pantheon-mail
pkgname=$_pkgname-bzr
pkgver=r1986
pkgrel=1
pkgdesc='The Pantheon mail client'
arch=('i686' 'x86_64')
url='https://launchpad.net/pantheon-mail'
license=('LGPL2.1')
groups=('pantheon-unstable')
depends=('desktop-file-utils' 'granite' 'gtksourceview3' 'libpeas'
'zeitgeist' 'gmime' 'webkitgtk' 'gcr')
makedepends=('bzr' 'cmake' 'gobject-introspection' 'vala' 'vte3')
optdepends=()
provides=("$_pkgname")
conflicts=("$_pkgname")
install="$_pkgname.install"
source=('pantheon-mail::bzr+lp:pantheon-mail')
sha256sums=('SKIP')
pkgver() {
cd $_pkgname
echo "r$(bzr revno)"
}
prepare() {
cd $_pkgname
sed -i 's/gtkspell-3.0/gtkspell3-3.0/' CMakeLists.txt
}
build() {
cd $_pkgname
if [[ -d build ]]; then
rm -rf build
fi
mkdir build && cd build
cmake .. \
-DCMAKE_BUILD_TYPE='Release' \
-DCMAKE_INSTALL_PREFIX='/usr' \
-DGSETTINGS_COMPILE='OFF'
make
}
package() {
cd $_pkgname/build
make DESTDIR="${pkgdir}" install
}
# vim: ts=2 sw=2 et:
|