-
-
Notifications
You must be signed in to change notification settings - Fork 174
add: artemisrgb-bin
#8149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
add: artemisrgb-bin
#8149
Changes from 4 commits
42a4d03
cc92456
22fc6cc
25d5b46
5b42882
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| pkgbase = artemisrgb-bin | ||
| gives = artemisrgb | ||
| pkgver = 1.2025.0819.0 | ||
| pkgdesc = A universal RGB control software | ||
| url = https://artemis-rgb.com/ | ||
| arch = x86_64 | ||
| depends = dotnet-runtime-8.0 | dotnet-runtime-7.0 | ||
| depends = hicolor-icon-theme | ||
| depends = libc6 | ||
| depends = bash | ||
| depends = zlib1g | ||
| depends = fontconfig | ||
| depends = libstdc++6 | ||
| makedepends = unzip | ||
| conflicts = artemisrgb | ||
| conflicts = artemisrgb-git | ||
| provides = artemisrgb | ||
| noextract = artemisrgb-bin-1.2025.0819.0.zip | ||
| license = custom:PolyForm Noncommercial License 1.0.0 | ||
| maintainer = Rodrigo Tavares <dev@rodrigotavar.es> | ||
| source = artemisrgb-bin-1.2025.0819.0.zip::https://updating.artemis-rgb.com/api/artifacts/3795832408 | ||
| sha256sums = 424b0abdc63a60709cbc217393c80d1112aa6f97a4b0e6a797c2fd7d59e6a790 | ||
|
|
||
| pkgname = artemisrgb-bin |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| pkgname=artemisrgb-bin | ||
| pkgver=1.2025.0819.0 | ||
| gives="artemisrgb" | ||
| url="https://artemis-rgb.com/" | ||
rodrigost23 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| pkgdesc="A universal RGB control software" | ||
rodrigost23 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| maintainer=("Rodrigo Tavares <dev@rodrigotavar.es>") | ||
| arch=("x86_64") | ||
| provides=("artemisrgb") | ||
| conflicts=("artemisrgb" "artemisrgb-git") | ||
| license=("custom:PolyForm Noncommercial License 1.0.0") | ||
| depends=("dotnet-runtime-8.0 | dotnet-runtime-7.0" "hicolor-icon-theme" "libc6" "bash" "zlib1g" "fontconfig" "libstdc++6") | ||
| makedepends=("unzip") | ||
| options=("staticlibs") | ||
rodrigost23 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| source=("${pkgname}-${pkgver}.zip::https://updating.artemis-rgb.com/api/artifacts/3795832408") | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This URL isn't locked to a specific version that can be locked with
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The official website uses an API to get releases information, and returns artifact ID tied to a specific release. Get releases: (Release version Get release info: (Artifact ID for Linux is
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm mostly concerned with |
||
| sha256sums=('424b0abdc63a60709cbc217393c80d1112aa6f97a4b0e6a797c2fd7d59e6a790') | ||
| noextract=("${pkgname}-${pkgver}.zip") | ||
rodrigost23 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| package() { | ||
| unzip -o "${srcdir}/${pkgname}-${pkgver}.zip" -d "${srcdir}/${pkgname}-${pkgver}/" | ||
|
|
||
| mkdir -p "${pkgdir}/opt" | ||
| mkdir -p "${pkgdir}/usr/share/" | ||
| cp -r --preserve=mode,timestamps "${srcdir}/${pkgname}-${pkgver}/" "${pkgdir}/opt/${gives}" | ||
| mkdir -p "${pkgdir}/usr/bin" | ||
| ln -s "/opt/${gives}/Artemis.UI.Linux" "${pkgdir}/usr/bin/${gives}" | ||
|
|
||
| # .desktop | ||
| cat > "${srcdir}/artemis.desktop" << EOF | ||
| [Desktop Entry] | ||
| Name=Artemis | ||
| Type=Application | ||
| Exec=/usr/bin/artemisrgb | ||
| Icon=artemis | ||
| Categories=Utility | ||
| EOF | ||
| install -Dm644 "${srcdir}/artemis.desktop" "${pkgdir}/usr/share/applications/${gives}.desktop" | ||
|
|
||
| # Icon for .desktop | ||
| cd "${srcdir}/${pkgname}-${pkgver}/Icons/" | ||
| find . -type f -exec install -Dm644 "{}" "${pkgdir}/usr/share/icons/hicolor/{}" \; | ||
|
|
||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.