Skip to content

Commit

Permalink
pkgbuild: fixup names
Browse files Browse the repository at this point in the history
  • Loading branch information
DashieTM committed Jun 6, 2024
1 parent 35dfec5 commit 563aa16
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-arch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: softprops/action-gh-release@v1
with:
files: |
reset-${{github.ref_name}}-0-x86_64.pkg.tar.zst
ReSet-${{github.ref_name}}-0-x86_64.pkg.tar.zst
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
- name: Build rust package
run: |
cargo build --release --verbose
mv ./target/release/reset ./target/release/ReSet
- name: Build Flatpak
run: "cd flatpak\npython3 flatpak-generator.py ../Cargo.lock -o cargo-sources.json \nflatpak-builder build org.Xetibo.ReSet.json --force-clean \nflatpak build-export export build\nflatpak build-bundle export reset.flatpak org.Xetibo.ReSet\n"
- name: Build Ubuntu package
Expand Down
7 changes: 3 additions & 4 deletions PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Maintainer: Fabio Lenherr <dashie@dashie.org>

pkgname=reset
pkgname=ReSet
pkgver=1.2.5
pkgrel=0
arch=('x86_64')
Expand All @@ -14,8 +14,7 @@ build() {

package() {
cd ..
install -Dm755 target/release/"$pkgname" "$pkgdir"/usr/bin/ReSet
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"
install -Dm644 "src/resources/icons/$pkgname.svg" "$pkgdir/usr/share/pixmaps/$pkgname.svg"
}

0 comments on commit 563aa16

Please sign in to comment.