mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
classic-delta: init for free-delta
This commit is contained in:
parent
724e4f7c5e
commit
881a072c10
3 changed files with 101 additions and 0 deletions
41
BioArchLinux/classic-delta/PKGBUILD
Executable file
41
BioArchLinux/classic-delta/PKGBUILD
Executable file
|
@ -0,0 +1,41 @@
|
|||
# Maintainer: Malacology <guoyizhang at malacology dot net>
|
||||
|
||||
pkgname=classic-delta
|
||||
pkgver=2.25g
|
||||
pkgrel=0
|
||||
pkgdesc="An Open Source System for Processing Taxonomic Descriptions https://doi.org/10.2307/1219595"
|
||||
arch=('x86_64')
|
||||
url="http://freedelta.sourceforge.net/"
|
||||
#url="https://www.delta-intkey.com/"
|
||||
license=('MPL2')
|
||||
depends=(glibc)
|
||||
makedepends=(gcc-fortran make)
|
||||
source=("$pkgname-$pkgver::https://sourceforge.net/projects/freedelta/files/classic_delta/Deltagfortran${pkgver}.zip/download"
|
||||
"classic-delta.patch")
|
||||
sha256sums=('7ac822efe1c6b0b3bdea3c0f21c648efa63171d9f4ee49d77e594f996917d5d8'
|
||||
'5433d651ec6ff9e62d878a681c985056eb33aedcd559122cbb5427c50dfa75e5')
|
||||
prepare () {
|
||||
cd $srcdir
|
||||
patch -N -p1 -i $srcdir/classic-delta.patch
|
||||
|
||||
for prog in Confor Dist Key
|
||||
do
|
||||
cd $srcdir/$prog
|
||||
rm ${prog,,}
|
||||
done
|
||||
|
||||
}
|
||||
build () {
|
||||
for prog in Confor Dist Key
|
||||
do
|
||||
cd $srcdir/$prog
|
||||
make
|
||||
done
|
||||
}
|
||||
package() {
|
||||
for prog in Confor Dist Key
|
||||
do
|
||||
cd $srcdir/$prog
|
||||
install -Dm 755 ${prog,,} $pkgdir/usr/bin/${prog,,}
|
||||
done
|
||||
}
|
45
BioArchLinux/classic-delta/classic-delta.patch
Normal file
45
BioArchLinux/classic-delta/classic-delta.patch
Normal file
|
@ -0,0 +1,45 @@
|
|||
From: Guoyi Zhang <guoyi zhang at malacology dot net>
|
||||
Date: Tues, 29 Nov 2022
|
||||
Subject: [PATCH] make makefile compilable
|
||||
|
||||
---
|
||||
|
||||
diff --git a/Confor/makefile b/Confor/makefile
|
||||
index 0764d78..b17b20d 100644
|
||||
--- a/Confor/makefile
|
||||
+++ b/Confor/makefile
|
||||
@@ -8,7 +8,7 @@ OBJS = clib.o char.o chkd.o dir1.o dir4.o dir5.o dira.o dirg.o diru.o init.o\
|
||||
.SUFFIXES: .for
|
||||
|
||||
FC = gfortran
|
||||
-FFLAGS = -fno-backslash -O2 -finit-local-zero -static -static-libgfortran -w
|
||||
+FFLAGS = -fno-backslash -O2 -finit-local-zero -fallow-argument-mismatch -lgfortran -w
|
||||
|
||||
all: confor
|
||||
.PHONY: all
|
||||
diff --git a/Dist/makefile b/Dist/makefile
|
||||
index fbd7e38..3265093 100644
|
||||
--- a/Dist/makefile
|
||||
+++ b/Dist/makefile
|
||||
@@ -4,7 +4,7 @@ OBJS = inou.o main.o xggg.o
|
||||
.SUFFIXES: .for
|
||||
|
||||
FC = gfortran
|
||||
-FFLAGS = -fno-backslash -O2 -finit-local-zero -static -static-libgfortran -w
|
||||
+FFLAGS = -fno-backslash -O2 -finit-local-zero -fallow-argument-mismatch -lgfortran -w
|
||||
|
||||
all: dist
|
||||
.PHONY: all
|
||||
diff --git a/Key/makefile b/Key/makefile
|
||||
index 6867ae8..f78af0b 100644
|
||||
--- a/Key/makefile
|
||||
+++ b/Key/makefile
|
||||
@@ -4,7 +4,7 @@ OBJS = clib.o main.o inou.o util.o genr.o outp.o wtps.o xggg.o
|
||||
.SUFFIXES: .for
|
||||
|
||||
FC = gfortran
|
||||
-FFLAGS = -fno-backslash -O2 -finit-local-zero -static -static-libgfortran -w
|
||||
+FFLAGS = -fno-backslash -O2 -finit-local-zero -fallow-argument-mismatch -lgfortran -w
|
||||
|
||||
all: key
|
||||
.PHONY: all
|
15
BioArchLinux/classic-delta/lilac.yaml
Normal file
15
BioArchLinux/classic-delta/lilac.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: kuoi@bioarchlinux.org
|
||||
pre_build_script: |
|
||||
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
|
||||
run_cmd(['updpkgsums'])
|
||||
post_build_script: |
|
||||
git_add_files('PKGBUILD')
|
||||
git_commit()
|
||||
update_aur_repo()
|
||||
update_on:
|
||||
- regex: Deltagfortran(\d+.\w+).zip
|
||||
source: regex
|
||||
url: https://sourceforge.net/projects/freedelta/files/classic_delta/
|
Loading…
Add table
Reference in a new issue