updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / k3dsurf / PKGBUILD
blob9032adf9f6197dd4ccd804533b8c362a79305844
1 # Maintainer: moostik <mooostik_at_gmail.com>
2 # Contributor: Darwin Bautista <djclue917@gmail.com>
4 pkgname=k3dsurf
5 pkgver=0.6.2.4
6 pkgrel=2
7 pkgdesc="A program to visualize and manipulate multi-dimensional surfaces by using Mathematical equations"
8 arch=('i686' 'x86_64')
9 url="http://kde-apps.org/content/show.php/?content=50062"
10 license=('GPL2')
11 depends=('qt3')
12 source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz" \
13         "${pkgname}.desktop")
14 md5sums=('21602ba004d532f8fd367c29bde5ab08'
15          'bfc0e296f7de91ffb130533f7790a3e5')
17 build() {
18   cd "${srcdir}/${pkgname}-${pkgver}"
19   source /etc/profile.d/qt3.sh
20   export PATH="$QTDIR/bin:$PATH"
22   rm src/Makefile 
23   rm Makefile
25   "$QTDIR/bin/qmake"
26   make
29 package() {
30   cd "${srcdir}/${pkgname}-${pkgver}"
32   # Install executable
33   install -D -m755 "bin/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
35   # Install shortcut and icon
36   install -D -m644 "icon/catenoid_mini_64x64.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
37   install -D -m644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"