Package Details: iptvnator-git r1915.f87a261-1

Git Clone URL: https://aur.archlinux.org/iptvnator-git.git (read-only, click to copy)
Package Base: iptvnator-git
Description: Cross-platform IPTV player application with multiple features, such as support of m3u and m3u8 playlists, favorites, TV guide, TV archive/catchup and more.
Upstream URL: https://github.com/4gray/iptvnator
Licenses: MIT
Conflicts: iptvnator
Provides: iptvnator
Submitter: lsjostro
Maintainer: lsjostro
Last Packager: lsjostro
Votes: 0
Popularity: 0.000000
First Submitted: 2025-08-29 06:40 (UTC)
Last Updated: 2026-04-01 09:17 (UTC)

Dependencies (19)

Required by (0)

Sources (1)

Latest Comments

lsjostro commented on 2026-04-01 09:18 (UTC)

thanks @Wire!

Wire commented on 2026-04-01 08:12 (UTC) (edited on 2026-04-01 08:17 (UTC) by Wire)

The current iptvnator-git PKGBUILD is outofdate because of the old Tauri layout changes needed:

  • replace the Tauri build path with `pnpm run make:app`
  • patch `electron-builder.json` so Linux target is only `pacman`
  • exclude `.PKGINFO`, `.MTREE`, `.INSTALL`, `.BUILDINFO` when unpacking the generated `.pacman`
  • add `/usr/bin/iptvnator -> /opt/IPTVnator/iptvnator`

This produced a working package locally on Arch. I can paste the full corrected PKGBUILD if that is preferred.


--- PKGBUILD.old    2026-04-01 10:09:24.814717849 +0200
+++ PKGBUILD    2026-04-01 09:40:51.461849152 +0200
@@ -1,13 +1,11 @@
 # Maintainer: Lars Sjostrom <lars at radicore dot se>
 pkgname=iptvnator-git
-pkgver=r1336.4330301
+pkgver=r1915.f87a261
 pkgrel=1
 pkgdesc="Cross-platform IPTV player application with multiple features, such as support of m3u and m3u8 playlists, favorites, TV guide, TV archive/catchup and more."
 arch=('x86_64')
 url="https://github.com/4gray/iptvnator"
 license=('MIT')
-depends=('nodejs')
-makedepends=('git' 'openssl' 'appmenu-gtk-module' 'libappindicator-gtk3' 'librsvg' 'cargo' 'pnpm' 'nodejs')
 depends=(
   'cairo'
   'gcc-libs'
@@ -22,6 +20,12 @@
   'pango'
   'sqlite'
 )
+makedepends=(
+  'git'
+  'nodejs'
+  'pnpm'
+  'python'
+)
 optdepends=(
   'ffmpeg: audio and video libraries'
   'mpv: media player'
@@ -39,25 +43,53 @@
 }

 prepare() {
-  pushd "$srcdir/$pkgname"
-  npm install
+  cd "$srcdir/$pkgname"
+  corepack enable
+  pnpm install --frozen-lockfile
 }

 build() {
-  pushd "$srcdir/$pkgname"
+  cd "$srcdir/$pkgname"
+  corepack enable
+
+  python - <<'PY'
+import json
+from pathlib import Path
+
+p = Path("electron-builder.json")
+data = json.loads(p.read_text())
+
+data["linux"]["target"] = [
+    {
+        "target": "pacman",
+        "arch": ["x64"]
+    }
+]

-  # generate dummy signing key
-  pnpm tauri signer generate -p dummy -w signing.key
-  export TAURI_SIGNING_PRIVATE_KEY=$(cat signing.key)
-  export TAURI_SIGNING_PRIVATE_KEY_PASSWORD="dummy"
-  rm -f signing.key
+p.write_text(json.dumps(data, indent=2) + "\n")
+PY

-  # build
-  CFLAGS="$CFLAGS -ffat-lto-objects" pnpm tauri build -b deb
+  pnpm run make:app
 }

 package() {
-  pushd "$srcdir/$pkgname"
-  cp -a src-tauri/target/release/bundle/deb/iptvnator_*/data/* "${pkgdir}"
+  cd "$srcdir/$pkgname"
+
+  local pacpkg
+  pacpkg=$(find dist/executables -maxdepth 1 -type f -name '*.pacman' | head -n1)
+
+  if [[ -z "$pacpkg" ]]; then
+    echo "Could not find generated pacman package in dist/executables" >&2
+    return 1
+  fi
+
+  bsdtar \
+    --exclude '.BUILDINFO' \
+    --exclude '.INSTALL' \
+    --exclude '.MTREE' \
+    --exclude '.PKGINFO' \
+    -xpf "$pacpkg" -C "$pkgdir"
+
+  install -d "$pkgdir/usr/bin"
+  ln -sf /opt/IPTVnator/iptvnator "$pkgdir/usr/bin/iptvnator"
 }
-# vim:set ts=2 sw=2 et: