archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / telepathy-morse / trunk / PKGBUILD
blobac4d1a738b7c2a5fa3171dc2b799517967fd4381
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 pkgname=telepathy-morse
4 pkgver=0.1.0
5 pkgrel=3
6 pkgdesc="Telepathy Connection Manager for the Telegram network"
7 arch=(x86_64)
8 url="https://github.com/TelepathyQt/telepathy-morse"
9 license=(GPL)
10 depends=(telepathy-qt telegram-qt)
11 makedepends=(cmake)
12 source=("https://github.com/TelepathyQt/telepathy-morse/archive/$pkgname-$pkgver.tar.gz")
13 sha256sums=('c9c361ef965b176a43e05d204eff7d83e508f4fcc3fd842c32a57187a3c7ce8f')
15 prepare() {
16   mkdir -p build
19 build() {
20   cd build
21   cmake ../$pkgname-$pkgname-$pkgver \
22     -DCMAKE_INSTALL_PREFIX=/usr \
23     -DCMAKE_INSTALL_LIBDIR=lib \
24     -DCMAKE_INSTALL_LIBEXECDIR=lib/telepathy
25   make
28 package() {
29   cd build
30   make DESTDIR="$pkgdir" install