blob: 32b06321e831024e0b7acce322ddde3d823bf12f (
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
|
# $Id: PKGBUILD 208232 2014-03-20 04:27:17Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>
pkgname=qalculate-kde
pkgver=0.9.7
pkgrel=4
pkgdesc="KDE frontend for libqalculate"
arch=('i686' 'x86_64')
url="http://qalculate.sourceforge.net/"
license=('GPL')
depends=('libqalculate' 'kdelibs3' 'cln')
options=('!makeflags')
source=(http://downloads.sourceforge.net/sourceforge/qalculate/${pkgname}-${pkgver}.tar.gz
qalculate-kde-0.9.7-gcc47.patch)
sha1sums=('fa0db8a3fb80264328770c4bbcbc0892a4d4ce91'
'8f23a12dd37e2fd3d316b78ee0831700310c0d36')
prepare() {
cd ${pkgname}-${pkgver}
patch -p1 -i "${srcdir}/qalculate-kde-0.9.7-gcc47.patch"
}
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/opt/kde --without-arts
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}
|