desktop/kdebindings-korundum/PKGBUILD

44 lines
1.3 KiB
Bash
Raw Normal View History

2013-12-18 02:36:04 +08:00
2013-12-18 02:41:12 +08:00
# Maintainer: Manuel Tortosa <manutortosa@chakra-project@org>
2011-07-23 02:02:15 +08:00
2013-12-18 02:36:04 +08:00
# Include global configuration
2011-07-23 02:02:15 +08:00
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=kdebindings-korundum
_pkgname=korundum
pkgver=${_kdever}
2014-01-11 20:59:04 +08:00
pkgrel=3
2011-07-23 02:02:15 +08:00
pkgdesc="KDE bindings for ruby"
url="http://kde.org/"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
depends=("kdebindings-qtruby>=${_kdever}" "kdebindings-smokekde>=${_kdever}")
makedepends=('cmake' 'automoc4' "kdebindings-smokegen>=${_kdever}" "boost" "kdepimlibs>=${_kdever}" "kdegraphics-okular>=${_kdever}")
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
2014-01-11 20:59:04 +08:00
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
2011-07-23 02:02:15 +08:00
conflicts=('kdebindings-ruby')
groups=("kde" "kdebindings" "kde-uninstall")
provides=('kdebindings-ruby' 'korundum')
replaces=('kdebindings-ruby')
conflicts=('kdebindings-ruby')
options=('docs' '!header' 'debug' 'log')
2011-07-23 02:02:15 +08:00
build() {
2011-07-23 02:02:15 +08:00
cd ${srcdir}/${_pkgname}-${pkgver}
#patch -p1 -i "${srcdir}/krubypluginfactory.diff"
2011-07-23 02:02:15 +08:00
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_INSTALL_PREFIX=${_installprefix}
make
}
package() {
2011-07-23 02:02:15 +08:00
cd ${srcdir}/${_pkgname}-${pkgver}
2012-04-30 09:36:09 +08:00
make DESTDIR=${pkgdir} install
2011-07-23 02:02:15 +08:00
}
2014-01-12 20:19:36 +08:00
sha256sums=('d9444f7d2dfd743442c46db2d17ea3ceee744c1e771d88249803146d62e7d6d1')