diff --git a/srcpkgs/python-mtranslate/template b/srcpkgs/python-mtranslate/template deleted file mode 100644 index 992c7b76fe9..00000000000 --- a/srcpkgs/python-mtranslate/template +++ /dev/null @@ -1,31 +0,0 @@ -# Template file for 'python-mtranslate' -pkgname=python-mtranslate -version=1.6 -revision=2 -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 " -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 - } -} diff --git a/srcpkgs/python3-mtranslate b/srcpkgs/python3-mtranslate deleted file mode 120000 index 6744c8f5a48..00000000000 --- a/srcpkgs/python3-mtranslate +++ /dev/null @@ -1 +0,0 @@ -python-mtranslate \ No newline at end of file diff --git a/srcpkgs/python3-mtranslate/template b/srcpkgs/python3-mtranslate/template new file mode 100644 index 00000000000..e15e054b90e --- /dev/null +++ b/srcpkgs/python3-mtranslate/template @@ -0,0 +1,18 @@ +# Template file for 'python3-mtranslate' +pkgname=python3-mtranslate +version=1.6 +revision=3 +wrksrc="mtranslate-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Simple api for google translate" +maintainer="Benjamín Albiñana " +license="MIT" +homepage="https://github.com/mouuff/mtranslate" +distfiles="https://github.com/mouuff/mtranslate/archive/${version}.tar.gz" +checksum=58fe274c692717a6e22acaf8712014a4ba1bd9a09409d246f31796f6f0117385 + +post_install() { + vlicense LICENSE +}