parent
64f81c8537
commit
91b3031410
2 changed files with 32 additions and 0 deletions
31
srcpkgs/python-mtranslate/template
Normal file
31
srcpkgs/python-mtranslate/template
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Template file for 'python-mtranslate'
|
||||
pkgname=python-mtranslate
|
||||
version=1.6
|
||||
revision=1
|
||||
archs=noarch
|
||||
wrksrc="mtranslate-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="mtranslate"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python"
|
||||
short_desc="Simple api for google translate"
|
||||
maintainer="Benjamín Albiñana <benalb@gmail.com>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/mouuff/mtranslate"
|
||||
distfiles="https://github.com/mouuff/mtranslate/archive/${version}.tar.gz"
|
||||
checksum=58fe274c692717a6e22acaf8712014a4ba1bd9a09409d246f31796f6f0117385
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
python3-mtranslate_package() {
|
||||
archs=noarch
|
||||
pycompile_module="mtranslate"
|
||||
depends="python3"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
1
srcpkgs/python3-mtranslate
Symbolic link
1
srcpkgs/python3-mtranslate
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-mtranslate
|
Loading…
Reference in a new issue