blob: fd2315aeb111223f51c6513634656402db57c9ea (
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
|
# Maintainer: Giovanni 'ItachiSan' Santini <giovannisantini93@yahoo.it>
# Maintainer: Antonio Rojas <arojas@archlinux.org>
_gitname=telepathy-morse
pkgname=telepathy-morse-git
pkgver=r290.a59a608
pkgrel=1
pkgdesc="Telepathy Connection Manager for the Telegram network"
arch=(i686 x86_64)
url="https://projects.kde.org/telepathy-morse/"
license=(GPL)
depends=(telepathy-qt telegram-qt-git)
makedepends=(cmake git)
provides=(telepathy-morse)
conflicts=(telepathy-morse)
source=("git+https://github.com/TelepathyIM/$_gitname")
sha512sums=('SKIP')
pkgver() {
cd $_gitname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../telepathy-morse \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_LIBEXECDIR=lib/telepathy \
-DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}
|