mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
add mega
This commit is contained in:
parent
4da3df5606
commit
cf9bdf7555
3 changed files with 46 additions and 0 deletions
27
mega/PKGBUILD
Normal file
27
mega/PKGBUILD
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# Maintainer: Malacology <guoyizhang at malacology dot com>
|
||||||
|
# Contributor: Malacology <guoyizhang at malacology dot com>
|
||||||
|
|
||||||
|
pkgname=mega
|
||||||
|
_pkgname=mega
|
||||||
|
pkgver=11.0.9
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc=" Molecular Evolutionary Genetics Analysis"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://megasoftware.net"
|
||||||
|
license=('custom')
|
||||||
|
depends=(
|
||||||
|
'desktop-file-utils'
|
||||||
|
'gconf'
|
||||||
|
'gtk2>=2.0'
|
||||||
|
'hicolor-icon-theme'
|
||||||
|
'metasploit>=2.0'
|
||||||
|
)
|
||||||
|
source=(""https://www.megasoftware.net/releases/mega_$pkgver-1_amd64.deb)
|
||||||
|
sha256sums=('6c84c998d5873888a8496f6ac5a5d6f438923e3d6548e226803d1f757928e6b3')
|
||||||
|
|
||||||
|
package() {
|
||||||
|
tar -p -xf data.tar.xz -C "${pkgdir}"
|
||||||
|
chmod 755 -R ../pkg/${pkgname}/usr
|
||||||
|
cp -r ../pkg/${pkgname}/usr/local/* ../pkg/${pkgname}/usr/
|
||||||
|
rm -r ../pkg/${pkgname}/usr/local
|
||||||
|
}
|
10
mega/lilac.py
Executable file
10
mega/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()
|
9
mega/lilac.yaml
Normal file
9
mega/lilac.yaml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
build_prefix: extra-x86_64
|
||||||
|
maintainers:
|
||||||
|
- github: starsareintherose
|
||||||
|
email: starsareintherose@outlook.com
|
||||||
|
pre_build_script: aur_pre_build(maintainers='malacology')
|
||||||
|
post_build: aur_post_build
|
||||||
|
update_on:
|
||||||
|
- source: aur
|
||||||
|
aur: mega
|
Loading…
Add table
Reference in a new issue