Add LICENSE file and Fix installation

This commit is contained in:
Jeena 2025-06-02 07:45:24 +09:00
parent 450de98d32
commit 250d81824e
4 changed files with 696 additions and 8 deletions

View file

@ -16,7 +16,7 @@ depends=(
)
optdepends=(
'libcanberra: play system notification sounds'
'sound-theme-freedesktop: standard system sounds like "complete.oga"'
'sound-theme-freedesktop: standard system sounds like \"complete.oga\"'
)
makedepends=(
'python-setuptools'
@ -27,16 +27,16 @@ source=()
sha256sums=()
build() {
cd "$srcdir"
python -m build --wheel
cd "$srcdir/../" # go to your project root
python -m build --wheel --outdir dist
}
package() {
cd "$srcdir"
cd "$srcdir/../" # back to project root where dist/ is
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 resources/net.jeena.Recoder.desktop \
"$pkgdir/usr/share/applications/net.jeena.Recoder.desktop"
install -Dm644 resources/net.jeena.Recoder.png \
"$pkgdir/usr/share/icons/hicolor/256x256/apps/net.jeena.Recoder.png"
}
}