diff options
author | Erich Eckner <git@eckner.net> | 2016-04-06 15:58:14 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-04-11 11:29:19 +0200 |
commit | 8eb10152dc9a6ba134e98e297bd3c5c55c5fdeeb (patch) | |
tree | 730778782a671715a057bfc0154889caa0858fb3 /.demeter | |
parent | 33bc2fb5a44f52422cfb39d13cadec396d5e0bf3 (diff) | |
download | archlinuxewe-8eb10152dc9a6ba134e98e297bd3c5c55c5fdeeb.tar.xz |
demeter weiter (noch nicht fertig)
Diffstat (limited to '.demeter')
-rwxr-xr-x | .demeter/PKGBUILD | 31 |
1 files changed, 23 insertions, 8 deletions
diff --git a/.demeter/PKGBUILD b/.demeter/PKGBUILD index 954fa9207..233ad920f 100755 --- a/.demeter/PKGBUILD +++ b/.demeter/PKGBUILD @@ -7,7 +7,10 @@ arch=('any') url="https://bruceravel.github.io/demeter" license=('BSD') groups=() -depends=('xraylarch') +depends=( + 'ifeffit' + 'perl-module-build' +) makedepends=() checkdepends=() optdepends=() @@ -21,24 +24,36 @@ source=( ) sha256sums=('f85262921e9eb646c7989ee73da760edc5fa27d5b97d1a4b3e597cd750920d8a') -package() { +prepare() { cd ${pkgname}-${pkgver} + rm t/t -ls - - perl ./Build.PL +} -ls +build() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + cd ${pkgname}-${pkgver} + perl ./Build.PL ./Build + ) +} -ls +check() { + cd ${pkgname}-${pkgver} ./Build test -ls +} + +package() { + cd ${pkgname}-${pkgver} ./Build install --help # sed "s|DEBUG = False|DEBUG = True|" -i setup.py |