summaryrefslogtreecommitdiff
path: root/.demeter/PKGBUILD
blob: 954fa920738392955254ac44e058a8346e48fccb (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
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=demeter
pkgver=0.9.24
pkgrel=1
pkgdesc="Data Analysis Tools for X-ray Spectroscopy"
arch=('any')
url="https://bruceravel.github.io/demeter"
license=('BSD')
groups=()
depends=('xraylarch')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
source=(
    "${pkgname}-${pkgver}.tar.gz::https://github.com/bruceravel/${pkgname}/archive/${pkgver}.tar.gz"
)
sha256sums=('f85262921e9eb646c7989ee73da760edc5fa27d5b97d1a4b3e597cd750920d8a')

package() {

    cd ${pkgname}-${pkgver}

ls

    perl ./Build.PL

ls

    ./Build

ls

    ./Build test

ls

    ./Build install --help

#    sed "s|DEBUG = False|DEBUG = True|" -i setup.py

#    python2 setup.py build
#    python2 setup.py install --skip-build --root="${pkgdir}" --prefix=/usr

}