PKGBUILD 1.21 KB
Newer Older
1 2
# Maintainer:   H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
totte's avatar
totte committed
3 4

# Include global configuration
Phil's avatar
Phil committed
5 6 7 8 9
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf

pkgname=kdeedu-kiten
_pkgname=kiten
pkgver=${_kdever}
10
pkgrel=2
11
pkgdesc="Japanese reference/study tool"
Phil's avatar
Phil committed
12
url="http://kde.org/applications/education/kiten/"
Manuel's avatar
Manuel committed
13
arch=('x86_64')
Phil's avatar
Phil committed
14
url='http://www.kde.org'
15 16 17
license=('GPL'
         'LGPL'
         'FDL')
Phil's avatar
Phil committed
18
depends=("kde-runtime>=${_kdever}")
19 20
makedepends=('cmake'
             'automoc4')
Phil's avatar
Phil committed
21
provides=('kiten')
22 23 24
groups=("kde"
        "kdeedu"
        "kde-uninstall")
Giuseppe's avatar
Giuseppe committed
25
categories=('education')
26 27 28 29
options=('docs'
         '!header'
         'debug'
         'log')
Phil's avatar
Phil committed
30
install=${pkgname}.install
Anke's avatar
Anke committed
31
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
totte's avatar
totte committed
32
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz  ../checksums.txt | cut -d " " -f1`)
Phil's avatar
Phil committed
33

philm's avatar
philm committed
34
build() {
35 36 37 38 39 40 41
    cd ${srcdir}/${_pkgname}-${pkgver}
    cmake . \
        -DCMAKE_BUILD_TYPE=${_build_type} \
        -DCMAKE_INSTALL_PREFIX=${_installprefix} \
        -DCMAKE_SKIP_RPATH=ON \
        -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
    make
Phil's avatar
Phil committed
42 43
}

philm's avatar
philm committed
44
package() {
45 46
    cd ${srcdir}/${_pkgname}-${pkgver}
    make DESTDIR=${pkgdir} install
Phil's avatar
Phil committed
47
}