-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from felipealfonsog/development
Development
- Loading branch information
Showing
6 changed files
with
90 additions
and
31 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Maintainer: Felipe Alfonso Gonzalez <f.alfonso@res-ear.ch> | ||
pkgname=connmaster-py | ||
pkgver=0.0.6 | ||
pkgrel=1 | ||
pkgdesc="ConnWifiMaster is a Python / PyQT5 app - designed for Arch Linux systems that use ConnMan for network management." | ||
arch=('x86_64') | ||
url="https://github.com/felipealfonsog/ConnWifiMaster" | ||
license=('BSD-3-Clause') | ||
depends=('python' 'python-pyqt5') | ||
source=("https://github.com/felipealfonsog/ConnWifiMaster/archive/refs/tags/v.${pkgver}.tar.gz") | ||
sha256sums=('a37fbd47489a066868294adfdabd4d3e9876dc89fb6a1a71ff7ac664f224a89e') | ||
|
||
prepare() { | ||
cd "$srcdir" | ||
tar xf "v.${pkgver}.tar.gz" | ||
mv "ConnWifiMaster-v.${pkgver}" "ConnWifiMaster" | ||
} | ||
|
||
build() { | ||
# No compilation needed for Python scripts | ||
return 0 | ||
} | ||
|
||
package() { | ||
cd "$srcdir/ConnWifiMaster" | ||
|
||
# Install the Python script to /usr/local/bin | ||
install -Dm755 "src/py/main.py" "${pkgdir}/usr/local/bin/connmaster-py" | ||
|
||
# Create a symlink in /usr/bin pointing to /usr/local/bin/connmaster-py | ||
ln -sf "/usr/local/bin/connmaster-py" "${pkgdir}/usr/bin/connmaster-py" | ||
|
||
# Optionally install any icons or .desktop files if needed | ||
# Install the icon | ||
install -Dm644 "${srcdir}/ConnWifiMaster/src/py/connmaster-py-iconlogo.png" "${pkgdir}/usr/share/pixmaps/connmaster-py.png" | ||
|
||
# Install the .desktop file | ||
install -Dm644 "${srcdir}/ConnWifiMaster/src/py/connmaster-py.desktop" "${pkgdir}/usr/share/applications/connmaster-py.desktop" | ||
} |
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[Desktop Entry] | ||
Version=1.0 | ||
Type=Application | ||
Name=ConnWifiMaster PyQT5 | ||
Comment=ConnWifiMaster PyQT5 version - ConnMan for network management. | ||
Exec=connmaster-py | ||
Icon=connmaster-py | ||
Terminal=false | ||
Categories=Utility;Network; |
This file contains 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