Package Details: i18n-editor 2.0.0-1

Git Clone URL: https://aur.archlinux.org/i18n-editor.git (read-only, click to copy)
Package Base: i18n-editor
Description: GUI for editing your i18n translation files
Upstream URL: https://github.com/jcbvm/i18n-editor
Licenses: MIT
Conflicts: i18n-editor-git
Provides: i18n-editor
Submitter: AsamK
Maintainer: btd1337
Last Packager: btd1337
Votes: 2
Popularity: 0.000000
First Submitted: 2018-05-15 14:18 (UTC)
Last Updated: 2020-04-29 00:46 (UTC)

Dependencies (3)

Required by (0)

Sources (3)

Latest Comments

btd1337 commented on 2020-01-07 23:46 (UTC)

The project has been abandoned.

Version 2 beta is stable. It brings important changes. Consider this update.

Or at least add the .desktop file to create the program icon in the application menu.

AsamK commented on 2020-01-07 11:50 (UTC)

2.0.0 is still in beta

btd1337 commented on 2020-01-07 07:25 (UTC) (edited on 2020-01-07 07:35 (UTC) by btd1337)

You need update package version and add .desktop file into install.

[Desktop Entry]
Name=i18n-editor
Exec=i18n-editor
Terminal=false
Type=Application
Icon=text-editor
Comment=GUI for editing your i18n translation files
Categories=Development;
StartupWMClass=com-jvms-i18neditor-Main

Update PKGBuild:

*Replace i18n-editor.desktop hash

# Maintainer: AsamK <asamk ät gmx de>

pkgname=i18n-editor
pkgver=2.0.0
_pkgver=2.0.0-beta.1
pkgrel=1
pkgdesc='GUI for editing your i18n translation files'
arch=('any')
url="https://github.com/jcbvm/i18n-editor"
license=('MIT')
depends=('java-runtime')
makedepends=('java-environment=8' 'maven')
source=("https://github.com/jcbvm/i18n-editor/archive/${_pkgver}.tar.gz"
        "${pkgname}.sh"
    "${pkgname}.desktop")
sha512sums=(
'df3d0f6790cda1d04b5a0b7826a758fae25d373aa335728d31b054b0573a679528c6fa43e5be630f74b4afbd92811104e1d9fc841a3b68ef3b4a841dd7884665'
'79f28fe55f04ec0787f7be3105832c9696bea5123eb158a9932aed816686cd8d7b813e87e665b1a90e8f869cb43fa05931eb9a9a906a674fc612ed307965d0f0'
'e398dbce952a376702f333d0ecfe386d2e60b48cfc7646b1d3ace64c125768a77cadd180480cf00beee2f787771684fae94c8e2e97702633031c33305812682b'
)

build() {
    cd "${srcdir}"
    cd "${pkgname}-${_pkgver}"

    mvn install
}

package() {
    install -m755 -d "${pkgdir}/usr/bin" \
                     "${pkgdir}/usr/share/java/${pkgname}/"  \
              "${pkgdir}/usr/share/applications/"

    cd "${srcdir}"

    install -m755 "${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"

    install -m755 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"

    cd "${pkgname}-${_pkgver}"

    install -m644 "target/${pkgname}-${_pkgver}/${pkgname}.jar" "${pkgdir}/usr/share/java/${pkgname}/"
}