summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 932c4851888d6987e8d3244d229660cdc5a412d0 (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
# Maintainer: Elias Haddad <eliasynetto at gmail dot com>
pkgname=gbutils
pkgver=6.4
pkgrel=4
pkgdesc="Giulio Bottazzi's Command Line Econometrics"
arch=(x86_64)
url="http://cafim.sssup.it/~giulio/software/gbutils/"
license=(GPL2)
provides=(gbutils)
conflicts=(gbutils)
source=("http://cafim.sssup.it/~giulio/software/gbutils/gbutils-6.4.tar.gz")
noextract=('$pkgname-$pkgver.tar.gz')
md5sums=('SKIP')
depends=('gsl>=2.1' 'libmatheval>=1.0.1' 'zlib')

prepare(){

    # extracts the original package
    tar xvzf $pkgname-$pkgver.tar.gz

    # enter correct directory 
    cd ${pkgname}-${pkgver}

}


build() {
    cd ${pkgname}-${pkgver}
    ./configure --prefix=/usr
    make
}

check() {
    cd ${pkgname}-${pkgver}
    make check
}

package() {
    cd ${pkgname}-${pkgver}
    make DESTDIR="${pkgdir}" install
}