Package Details: minilpa 1.1.1-2

Git Clone URL: https://aur.archlinux.org/minilpa.git (read-only, click to copy)
Package Base: minilpa
Description: Professional LPA UI
Upstream URL: https://github.com/EsimMoe/MiniLPA
Keywords: esim euicc lpa lpac minilpa
Licenses: AGPL-3.0
Conflicts: minilpa
Provides: minilpa
Submitter: root-core
Maintainer: root-core
Last Packager: root-core
Votes: 2
Popularity: 0.070281
First Submitted: 2025-01-07 15:52 (UTC)
Last Updated: 2025-06-14 21:56 (UTC)

Dependencies (4)

Required by (0)

Sources (5)

Latest Comments

root-core commented on 2025-06-14 21:58 (UTC)

Sure, I didn't notice the build script is using git. Java is a bit of a mess.. but sure choices are good.

Misaka13514 commented on 2025-06-14 01:50 (UTC)

==> Starting build()...
git: /build/minilpa/src/MiniLPA-1.1.1/scripts/Build.ps1:57
Line |
  57 |  git diff --no-ext-diff --quiet --exit-code
     |  ~~~
     | The term 'git' is not recognized as a name of a cmdlet, function, script
     | file, or executable program. Check the spelling of the name, or if a
     | path was included, verify that the path is correct and try again.
==> ERROR: A failure occurred in build().

git should be added to makedepends. Also consider using powershell and java-environment-openjdk in makedepends so user has more choices to build the package with?

root-core commented on 2025-06-13 14:59 (UTC)

I resolved the issue by pinning the manifest files. It's not the most elegant solution, but it's as vanilla as possible.

There are some patches that should be added upstream, but it doesn't seem to be maintained at the moment.

migrev commented on 2025-05-20 08:40 (UTC)

This upstream patch fixes compilation: https://github.com/EsimMoe/MiniLPA/pull/17/commits/d88f9d4636f9facb797a8deee219e9830eb355e6

Misaka13514 commented on 2025-05-15 15:42 (UTC)

Build failed due to upstream issue: https://github.com/EsimMoe/MiniLPA/issues/15

current workaround:

# Maintainer: Root-Core <aur at root-core dot net>
_pkgname=MiniLPA
pkgname=minilpa
pkgver=1.1.1
pkgrel=1
pkgdesc="Professional LPA UI"
arch=('x86_64')
url="https://github.com/EsimMoe/MiniLPA"
license=('AGPL-3.0')
depends=('java-runtime-common')
makedepends=('powershell' 'jdk-openjdk' 'git')
source=(
  $_pkgname-$pkgver.tar.gz::https://github.com/EsimMoe/MiniLPA/archive/refs/tags/v$pkgver.tar.gz
  $pkgname.desktop
  $pkgname.sh
)
sha256sums=(
  a56a8342215d25d127bdc17fb3bc2e569eb4b28bb2043ee81407ff59373e4218
  c3f3c4f24581d89af194e6605eb3fdac59612752b94e6841d15aff927d812a13
  89bd22e555dbd9eb8a9fee7cbdfd8f21c05120141cc4edef38d4c65ac4615ed0
)

prepare() {
  cd $srcdir/$_pkgname-$pkgver
  sed -i "s|https://euicc-manual.osmocom.org/docs/pki/eum/manifest.json|https://web.archive.org/web/20241005030757if_/https://euicc-manual.osmocom.org/docs/pki/eum/manifest.json|g" scripts/Update-Euicc-Info.ps1
}

build() {
  cd $srcdir/$_pkgname-$pkgver
  pwsh scripts/Build.ps1 -NativeExecutable -NativeExecutableType app-image
}

package() {
  install -Dm755 $pkgname.sh $pkgdir/usr/bin/$pkgname
  install -Dm644 $pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop

  cd $srcdir/$_pkgname-$pkgver
  cd build/dist
  bsdtar -xf MiniLPA-Linux-x86_64.zip
  install -Dm755 lib/app/MiniLPA-all.jar $pkgdir/usr/lib/$pkgname/MiniLPA.jar
  install -Dm644 lib/MiniLPA.png $pkgdir/usr/share/icons/hicolor/256x256/apps/$pkgname.png
}