summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c8e84e95e0f394d26cd29496e1a91bc6a0f3bca6 (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
# Maintainer: Grego Dadone <grego.dadone@gmail.com>
# Contributor: Grego Dadone <grego.dadone@gmail.com>

pkgname=amor
pkgver=15.08.3
pkgrel=11
pkgdesc='On-Screen Creature'
url='https://projects.kde.org/projects/kde/kdetoys/amor'
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
groups=('kde-applications')
depends=('kxmlgui5' 'kwindowsystem5' 'kconfig5' 'ki18n5' 'kcoreaddons5' 'kdbusaddons5' 'kdoctools5' 'qt5-x11extras')
makedepends=('cmake' 'extra-cmake-modules')
optdepends=(
'amor-themes-extra: 26 extra themes for KDE AMOR'
)
source=(git+https://github.com/KDE/amor.git)
sha256sums=('SKIP')

build() {
  mkdir -p build
  cd build
  cmake ../amor \
    -DCMAKE_BUILD_TYPE=Release \
    -DKDE4_BUILD_TESTS=OFF \
    -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd build
  make DESTDIR=$pkgdir install
}