Created
January 28, 2026 11:50
-
-
Save felixdorn/9be323c4da8d8e1deee10868fc0c41a2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pkgname=pucoti | |
| pkgver=1.0.0 | |
| pkgrel=1 | |
| pkgdesc="A Tauri-based desktop timer for time estimation calibration" | |
| arch=('x86_64') | |
| url="https://github.com/ddorn/pucoti-tauri" | |
| license=('proprietary') | |
| depends=( | |
| 'webkit2gtk-4.1' | |
| 'gtk3' | |
| 'glib2' | |
| 'gdk-pixbuf2' | |
| 'cairo' | |
| 'pango' | |
| 'libsoup3' | |
| 'openssl' | |
| 'alsa-lib' | |
| ) | |
| makedepends=( | |
| 'rust' | |
| 'cargo' | |
| 'nodejs' | |
| 'pnpm' | |
| 'pkg-config' | |
| ) | |
| prepare() { | |
| cd "$startdir" | |
| pnpm install | |
| } | |
| build() { | |
| cd "$startdir" | |
| pnpm tauri build --no-bundle | |
| } | |
| package() { | |
| cd "$startdir" | |
| install -Dm755 "src-tauri/target/release/pucoti" "$pkgdir/usr/bin/pucoti" | |
| install -Dm644 /dev/stdin "$pkgdir/usr/share/applications/pucoti.desktop" << EOF | |
| [Desktop Entry] | |
| Name=Pucoti | |
| Comment=Timer with time estimation calibration | |
| Exec=pucoti | |
| Icon=pucoti | |
| Terminal=false | |
| Type=Application | |
| Categories=Utility; | |
| EOF | |
| # Install icons | |
| install -Dm644 "src-tauri/icons/32x32.png" "$pkgdir/usr/share/icons/hicolor/32x32/apps/pucoti.png" | |
| install -Dm644 "src-tauri/icons/128x128.png" "$pkgdir/usr/share/icons/hicolor/128x128/apps/pucoti.png" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment