mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 14:37:15 +08:00
32 lines
748 B
Bash
32 lines
748 B
Bash
|
# $Id: $
|
||
|
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
|
||
|
|
||
|
pkgname=attica
|
||
|
pkgver=0.1.2
|
||
|
pkgrel=1
|
||
|
pkgdesc='A library to access Open Collaboration Service providers'
|
||
|
arch=('i686' 'x86_64')
|
||
|
url='http://www.kde.org'
|
||
|
license=('LGPL')
|
||
|
depends=('qt')
|
||
|
makedepends=('cmake')
|
||
|
source=("http://download.kde.org/stable/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
|
||
|
md5sums=('8b4207dbc0a826d422632bdb9c50d51a')
|
||
|
|
||
|
build() {
|
||
|
cd ${srcdir}
|
||
|
mkdir build
|
||
|
cd build
|
||
|
cmake ../${pkgname}-${pkgver} \
|
||
|
-DCMAKE_BUILD_TYPE=Release \
|
||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||
|
-DCMAKE_SKIP_RPATH=ON \
|
||
|
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
||
|
make || return 1
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd ${srcdir}/build
|
||
|
make DESTDIR=${pkgdir} install
|
||
|
}
|