mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
add treemap
This commit is contained in:
parent
8615efd22e
commit
f91a35e846
7 changed files with 79 additions and 0 deletions
28
treemap/PKGBUILD
Normal file
28
treemap/PKGBUILD
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Maintainer: Malacology <guoyizhang at malacology dot com>
|
||||
# Contributor: Malacology <guoyizhang at malacology dot com>
|
||||
|
||||
pkgname=treemap
|
||||
pkgver=3b1243
|
||||
pkgrel=1
|
||||
pkgdesc="a tool for analysing relationships between evolutionary histories of ecologically linked species"
|
||||
arch=('x86_64')
|
||||
url="https://sites.google.com/site/cophylogeny/treemap/"
|
||||
license=('custom')
|
||||
makedepends=('wget')
|
||||
source=("treemap.desktop" "treemap.png")
|
||||
sha256sums=('dd308f7e4596edef57be9bbbfc7a7088a27f75763feae02e446c9d16518940e5'
|
||||
'514cbfcb94803808141cc6fae9b58eabfe58ba7a55d5d5f3f1061cd7a154b28e')
|
||||
depends=(
|
||||
'jre-openjdk-headless'
|
||||
'jre-openjdk'
|
||||
'jdk-openjdk'
|
||||
'openjdk-doc'
|
||||
'openjdk-src'
|
||||
)
|
||||
package() {
|
||||
wget "https://sites.google.com/site/cophylogeny/software/TreeMap${pkgver}.jar"
|
||||
install -dm755 "$pkgdir"/usr/share/{treemap,icons,applications}
|
||||
install -Dm644 ${srcdir}/TreeMap${pkgver}.jar ${pkgdir}/usr/share/treemap/TreeMap.jar
|
||||
install -Dm 755 ${srcdir}/*.desktop ${pkgdir}/usr/share/applications
|
||||
install -Dm 755 ${srcdir}/*.png ${pkgdir}/usr/share/icons
|
||||
}
|
10
treemap/lilac.py
Executable file
10
treemap/lilac.py
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env python3
|
||||
from lilaclib import *
|
||||
|
||||
def pre_build():
|
||||
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
|
||||
run_cmd(['updpkgsums'])
|
||||
|
||||
def post_build():
|
||||
git_add_files('PKGBUILD')
|
||||
git_commit()
|
7
treemap/lilac.yaml
Normal file
7
treemap/lilac.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: starsareintherose@outlook.com
|
||||
update_on:
|
||||
- source: aur
|
||||
aur: treemap
|
7
treemap/lilac.yaml.aur
Normal file
7
treemap/lilac.yaml.aur
Normal file
|
@ -0,0 +1,7 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: starsareintherose@outlook.com
|
||||
update_on:
|
||||
- source: aur
|
||||
aur: treemap
|
8
treemap/lilac.yaml.vps
Normal file
8
treemap/lilac.yaml.vps
Normal file
|
@ -0,0 +1,8 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: starsareintherose@outlook.com
|
||||
update_on:
|
||||
- source: regex
|
||||
url: https://sites.google.com/site/cophylogeny/software
|
||||
regex: TreeMap(\w+).jar
|
19
treemap/treemap.desktop
Normal file
19
treemap/treemap.desktop
Normal file
|
@ -0,0 +1,19 @@
|
|||
[Desktop Entry]
|
||||
Categories=
|
||||
Encoding=UTF-8
|
||||
Exec=java -jar /usr/share/treemap/TreeMap.jar
|
||||
GenericName=
|
||||
GenericName[zh]=
|
||||
Icon=/usr/share/icons/treemap.png
|
||||
MimeType=
|
||||
Name=TreeMap
|
||||
Name[zh]=TreeMap
|
||||
ServiceTypes=
|
||||
SwallowExec=
|
||||
SwallowTitle=
|
||||
Terminal=false
|
||||
TerminalOptions=
|
||||
Type=Application
|
||||
X-KDE-SubstituteUID=false
|
||||
X-KDE-Username=root
|
||||
|
BIN
treemap/treemap.png
Normal file
BIN
treemap/treemap.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.5 KiB |
Loading…
Add table
Reference in a new issue