Update omacalc to v0.1.1

The desktop file and icon now ship as local sources, since the upstream
repo dropped its in-tree pkgbuild directory in favor of this one.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
David Heinemeier HanssonandClaude Fable 5 committed 2026-08-01 20:26:13 -07:00
1 parent 14f3544a8b
commit 7a5f347a8b
3 files changed
+33 -5

No files matched your search

+9 -5
View File
@@ -1,7 +1,7 @@
# Maintainer: David Heinemeier Hansson <david@hey.com>
pkgname=omacalc
pkgver=0.1.0
pkgver=0.1.1
pkgrel=1
pkgdesc='Dead-simple calculator built with Qt Quick'
arch=('x86_64' 'aarch64')
@@ -21,8 +21,12 @@ makedepends=(
'qt6-base'
'qt6-declarative'
)
source=("$pkgname-$pkgver.tar.gz::https://github.com/omacom-io/omacalc/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('cfb406407bbddefd6fd9d77ed8d1ac1a3644b567df15ea26fe0a81f3a90ce4a9')
source=("$pkgname-$pkgver.tar.gz::https://github.com/omacom-io/omacalc/archive/refs/tags/v$pkgver.tar.gz"
'omacalc.desktop'
'omacalc.svg')
sha256sums=('34e354cac96549b457d52c24da71c98c3a6cfad01c625162d4c67e91193d81b1'
'a8697a8606ab2ff6323e2923a835b1d3312e03f20614b71b1d5db57c84c93306'
'a6366f7167e657dd3be9c129a533fccc007dfb644db505f07068ad5a5986d34d')
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -35,6 +39,6 @@ package() {
install -Dm755 build/omacalc "$pkgdir/usr/bin/omacalc"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 fonts/OFL.txt "$pkgdir/usr/share/licenses/$pkgname/OFL.txt"
install -Dm644 pkgbuild/omacalc.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/omacalc.svg"
install -Dm644 pkgbuild/omacalc.desktop "$pkgdir/usr/share/applications/omacalc.desktop"
install -Dm644 "$srcdir/omacalc.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/omacalc.svg"
install -Dm644 "$srcdir/omacalc.desktop" "$pkgdir/usr/share/applications/omacalc.desktop"
}