diff options
author | root <root@rshg054.dnsready.net> | 2012-05-31 00:03:48 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-05-31 00:03:48 +0000 |
commit | f1ae949e08a764ac063703dc9bb7f0afd7c16e96 (patch) | |
tree | b542ace0cdaf945c5e495f31e3c87537017c614d /kde-unstable/kdeutils-kcalc/PKGBUILD | |
parent | f676c2f568b9c75daa3e2b688978b877f950953d (diff) |
Thu May 31 00:03:48 UTC 2012
Diffstat (limited to 'kde-unstable/kdeutils-kcalc/PKGBUILD')
-rw-r--r-- | kde-unstable/kdeutils-kcalc/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/kde-unstable/kdeutils-kcalc/PKGBUILD b/kde-unstable/kdeutils-kcalc/PKGBUILD new file mode 100644 index 000000000..235b3acfe --- /dev/null +++ b/kde-unstable/kdeutils-kcalc/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 160164 2012-05-29 23:09:15Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> + +pkgname=kdeutils-kcalc +pkgver=4.8.80 +pkgrel=1 +pkgdesc='Scientific Calculator' +url='http://kde.org/applications/utilities/kcalc/' +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'FDL') +depends=('kdebase-runtime') +makedepends=('cmake' 'automoc4') +groups=('kde' 'kdeutils') +install=${pkgname}.install +source=("http://download.kde.org/unstable/${pkgver}/src/kcalc-${pkgver}.tar.xz") +sha1sums=('bff210b459668cbb47d22edf66c002dd3d31988c') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake ../kcalc-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd $srcdir/build + make DESTDIR=$pkgdir install + cd $srcdir/build/doc + make DESTDIR=$pkgdir install +} |