Created
July 25, 2025 18:27
-
-
Save alexjsteffen/7f6024dc8fbae80f84e8a47981ac8b14 to your computer and use it in GitHub Desktop.
Openbubbles custom PKGBUILD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Maintainer: Alexander Jonathan Hardy Steffen <alex@ajhs.io> | |
| pkgname=openbubbles-bin | |
| pkgver=161 | |
| pkgrel=1 | |
| pkgdesc="A cross-platform messaging app." | |
| arch=('x86_64') | |
| url="https://github.com/OpenBubbles/openbubbles-app" | |
| license=('MIT') | |
| depends=() # Add runtime dependencies here if you discover any | |
| # Source files and their checksums | |
| source=("openbubbles.tar.gz" "openbubbles-bin.desktop") | |
| sha256sums=('0586c67807a1289323581c45c052528ad630fb7884c4a2db0f1925e26e4b0c32' | |
| '7ab7427cfa9dc679e5ad0c53f535435685b47f813163d8fd371f32b22b76ee4e') | |
| package() { | |
| # The directory where the app will be installed | |
| local inst_dir="$pkgdir/opt/$pkgname" | |
| # Create the installation directory in /opt/ | |
| install -d "$inst_dir" | |
| # Copy the files from the source directory ($srcdir). | |
| # The executable is named 'bluebubbles', not 'openbubbles'. | |
| install -Dm755 "$srcdir/bluebubbles" "$inst_dir/bluebubbles" | |
| cp -r "$srcdir/data" "$inst_dir/" | |
| cp -r "$srcdir/lib" "$inst_dir/" | |
| # Create a symbolic link in /usr/bin so you can run the app. | |
| # The command 'openbubbles-bin' will point to the 'bluebubbles' executable. | |
| install -d "$pkgdir/usr/bin" | |
| ln -s "$inst_dir/bluebubbles" "$pkgdir/usr/bin/$pkgname" | |
| # Install the .desktop file for the application menu. | |
| install -Dm644 "$srcdir/openbubbles-bin.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" | |
| # Install the application icon. | |
| install -Dm644 "$srcdir/data/flutter_assets/assets/icon/icon.png" "$pkgdir/usr/share/icons/hicolor/512x512/apps/$pkgname.png" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment