diff options
author | Mark Wagie | 2023-12-10 08:35:28 -0700 |
---|---|---|
committer | Mark Wagie | 2023-12-10 08:35:28 -0700 |
commit | a9d6095e17f2c088ee8c633134eda9ac3c450f63 (patch) | |
tree | 20656ba9d0e126270b89caf6d517dc32202ad20c | |
download | aur-a9d6095e17f2c088ee8c633134eda9ac3c450f63.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | .gitignore | 9 | ||||
-rw-r--r-- | PKGBUILD | 29 | ||||
-rw-r--r-- | argos-translate.desktop | 5 | ||||
-rw-r--r-- | argos-translate.png | bin | 0 -> 46225 bytes |
5 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c076b61b21ac --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = argos-translate-gui + pkgdesc = Graphical user interface for Argos Translate + pkgver = 1.6.5 + pkgrel = 1 + url = https://www.argosopentech.com + arch = any + license = MIT + makedepends = git + makedepends = python-installer + depends = argos-translate + depends = python-pyqt5 + source = https://files.pythonhosted.org/packages/py3/a/argostranslategui/argostranslategui-1.6.5-py3-none-any.whl + source = https://raw.githubusercontent.com/argosopentech/argos-translate-gui/588e128e7665e0118f6e36b39cec265464c6e71f/LICENSE + source = argos-translate.desktop + source = argos-translate.png + sha256sums = 18ff453a55617ad3bafb39c263e65e821710b8e75f1d12a2c4e0d011f3544641 + sha256sums = 7c5d4a497b63457497d7f0652e8fb063b751b4f9f3a35ac58b010aad0698d7eb + sha256sums = e0b55ff51c34d8b170aa7b459efc1d69931a2726d7bc8d2cf8c09c916489f3e3 + sha256sums = 634c076d02a175109d4190aa9b816fedf4ec25b0985a4c1eeafc730dece69e65 + +pkgname = argos-translate-gui diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..337aed1cbb68 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +# Ignore everything +* + +# But not these files... +!.gitignore +!PKGBUILD +!.SRCINFO +!argos-translate.desktop +!argos-translate.png diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9a8a7ebd8c35 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +## WIP + +pkgname=argos-translate-gui +_name=argostranslategui +pkgver=1.6.5 +pkgrel=1 +pkgdesc="Graphical user interface for Argos Translate" +arch=('any') +url="https://www.argosopentech.com" +license=('MIT') +depends=('argos-translate' 'python-pyqt5') +makedepends=('git' 'python-installer') +_commit=588e128e7665e0118f6e36b39cec265464c6e71f # 1.6.5 +source=("https://files.pythonhosted.org/packages/py3/${_name::1}/$_name/${_name//-/_}-$pkgver-py3-none-any.whl" + "https://raw.githubusercontent.com/argosopentech/argos-translate-gui/$_commit/LICENSE" + 'argos-translate.desktop' + 'argos-translate.png') +sha256sums=('18ff453a55617ad3bafb39c263e65e821710b8e75f1d12a2c4e0d011f3544641' + '7c5d4a497b63457497d7f0652e8fb063b751b4f9f3a35ac58b010aad0698d7eb' + 'e0b55ff51c34d8b170aa7b459efc1d69931a2726d7bc8d2cf8c09c916489f3e3' + '634c076d02a175109d4190aa9b816fedf4ec25b0985a4c1eeafc730dece69e65') + +package() { + python -m installer --destdir="$pkgdir" *.whl + + install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" + install -Dm644 argos-translate.png -t "$pkgdir/usr/share/pixmaps/" + install -Dm644 argos-translate.desktop -t "$pkgdir/usr/sahre/applications/" +} diff --git a/argos-translate.desktop b/argos-translate.desktop new file mode 100644 index 000000000000..822f08b03eef --- /dev/null +++ b/argos-translate.desktop @@ -0,0 +1,5 @@ +[Desktop Entry] +Name=Argos Translate +Exec=argos-translate-gui +Icon=argos-translate +Type=Application diff --git a/argos-translate.png b/argos-translate.png Binary files differnew file mode 100644 index 000000000000..1e4f81cb4337 --- /dev/null +++ b/argos-translate.png |