blob: 15a7cbd89509d71c746160cdb072429ed6a8ad97 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# Maintainer: Ruben De Smet <ruben dot de dot smet at rubdos dot be>
pkgname='qccpack'
pkgver="0.61"
pkgrel=3
pkgdesc=''
url='http://qccpack.sourceforge.net/'
license=(
'LGPL2'
)
source=(
'http://netcologne.dl.sourceforge.net/project/qccpack/QccPack/0.61/QccPack-0.61-1.tar.gz'
)
sha512sums=(
'0f7f581c8f6489126251175389645ac1255bfdf380aeb2565e16503558edb93837fb907291bf7207ca40e32c3f2cc37bc0e36734add064ffa6d3be598432a435'
)
arch=(
'i686'
'x86_64'
)
depends=(
'bash'
'gcc-libs'
)
makedepends=(
)
checkdepends=(
)
options=(
'!emptydirs'
)
build() {
ls
pwd
cd QccPack/
cp QccPack.config.linux QccPack.config
sed -ie "s|/usr/local/src/QccPack|$(pwd)|" QccPack.config
sed -ie "s|QCCPACK_INSTALL = .*$|QCCPACK_INSTALL = ${pkgdir}/usr/|g" QccPack.config
sed -ie "s|CFLAGS = -O -Wall|CFLAGS = -msse -msse2 -msse3 -march=native -mfpmath=sse -O3 -Wall|g" QccPack.config
imake
make Makefiles
make
}
package() {
cd QccPack
make install
}
post_install() {
ldconfig
}
post_remove() {
ldconfig
}
# vim: tabstop=1 expandtab
|