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:
co-authored by
Claude Fable 5
parent
14f3544a8b
commit
7a5f347a8b
@@ -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"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Omacalc
|
||||
GenericName=Calculator
|
||||
Comment=Dead-simple calculator
|
||||
Exec=omacalc
|
||||
Icon=omacalc
|
||||
Terminal=false
|
||||
Categories=Utility;Calculator;
|
||||
Keywords=calculator;calc;math;arithmetic;
|
||||
StartupWMClass=omacalc
|
||||
@@ -0,0 +1,13 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128">
|
||||
<rect width="128" height="128" rx="24" fill="#101010"/>
|
||||
<rect x="31" y="22" width="66" height="84" rx="10" fill="#f5f1e8"/>
|
||||
<rect x="41" y="32" width="46" height="17" rx="4" fill="#101010"/>
|
||||
<circle cx="48" cy="64" r="5" fill="#101010"/>
|
||||
<circle cx="64" cy="64" r="5" fill="#101010"/>
|
||||
<circle cx="80" cy="64" r="5" fill="#101010"/>
|
||||
<circle cx="48" cy="80" r="5" fill="#101010"/>
|
||||
<circle cx="64" cy="80" r="5" fill="#101010"/>
|
||||
<circle cx="80" cy="80" r="5" fill="#101010"/>
|
||||
<circle cx="48" cy="96" r="5" fill="#101010"/>
|
||||
<path d="M59 96h21" stroke="#101010" stroke-width="10" stroke-linecap="round"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 692 B |
Reference in New Issue
Block a user