feat: Add .desktop files and add PKGBUILD for arch

This commit is contained in:
Fabio Lenherr / DashieTM 2023-11-04 12:51:30 +01:00
parent 1868e26a2f
commit fc22b5c807
5 changed files with 48 additions and 1 deletions

20
PKGBUILD Normal file
View file

@ -0,0 +1,20 @@
# Maintainer: Fabio Lenherr <dashie@dashie.org>
pkgname=reset
pkgver=0.1
pkgrel=1
arch=('x86_64')
pkgdir="/usr/bin/${pkgname}"
pkgdesc="A wip universal Linux settings application."
depends=('rust' 'gtk4' 'dbus' 'gendesk')
build() {
cargo build --release
}
package() {
cd ..
install -Dm755 target/release/"$pkgname" "$pkgdir"/usr/bin/"$pkgname"
install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
install -Dm644 "src/resources/icons/ReSet.svg" "$pkgdir/usr/share/pixmaps/ReSet.svg"
}