mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
37 lines
902 B
Bash
37 lines
902 B
Bash
# Maintainer:
|
|
# Contributors: H W Tovetjärn (totte) <totte@tott.es>
|
|
# Andrea Scarpino <andrea@archlinux.org>
|
|
# birdflesh <antkoul@gmail.com>
|
|
|
|
pkgname=libkfbapi
|
|
pkgver=1.0
|
|
pkgrel=1
|
|
pkgdesc="KDE library for accessing Facebook services"
|
|
arch=('x86_64')
|
|
url='https://projects.kde.org/projects/extragear/libs/libkfbapi'
|
|
license=('GPL')
|
|
depends=('kdepimlibs')
|
|
makedepends=('cmake'
|
|
'automoc4'
|
|
'boost')
|
|
source=("http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.bz2")
|
|
sha512sums=('05ce3213a1383796a02115705c2bf829')
|
|
|
|
prepare() {
|
|
mkdir "${srcdir}/build"
|
|
}
|
|
|
|
build() {
|
|
cd "${srcdir}/build"
|
|
cmake "../$pkgname-$pkgver" \
|
|
-DQT_QMAKE_EXECUTABLE=qmake-qt4 \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/build"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|