Add LICENSE file and Fix installation
This commit is contained in:
parent
450de98d32
commit
250d81824e
4 changed files with 696 additions and 8 deletions
10
PKGBUILD
10
PKGBUILD
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue