-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
Fixed PKGBUILD for Arch AUR #14
Comments
Could you enumerate the changes you performed to make sure I got them all? As far as I can see, they are:
Is there something I missed? |
I am running into what I think is a related issue. I build AUR packages on a local server which are separately installed on my laptop. Is there a way for the tuigreet build script to not depend on the |
Do you mean that our If the former, yeah I just learned that Do you have any log output of your error? EDIT: apparently, AUR-dependencies in AUR packages is not something that can be resolved (or I missed something), so I might remove the dependency on |
Can you try building the package from your clean environment with the following # Maintainer: Antoine POPINEAU <antoine at popineau dot eu>
pkgname=greetd-tuigreet
pkgver=0.3.1
pkgrel=2
pkgdesc='A console UI greeter for greetd'
url='https://github.com/apognu/tuigreet'
license=(GPL3)
conflicts=(greetd-tuigreet-bin greetd-tuigreet-git)
arch=(x86_64)
makedepends=(rust)
source=("${url}/archive/${pkgver}.tar.gz"
'tuigreet.conf')
sha256sums=('7ee71be9719d99950028724300090faa4b5a281ebf1cb9b1564f74b636754c6c'
'8f83aee7874aab5d06981a1d1cd05df906368a79dbca90d157a33a2f023b67d3')
build() {
cd "tuigreet-${pkgver}"
cargo build --release
}
package() {
install -Dm755 "${srcdir}/tuigreet-${pkgver}/target/release/tuigreet" "${pkgdir}/usr/bin/tuigreet"
install -Dm644 "${srcdir}/tuigreet-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/tuigreet/LICENSE"
install -Dm644 "${srcdir}/tuigreet.conf" "${pkgdir}/usr/lib/tmpfiles.d/tuigreet.conf"
} |
I am not super confident in my AUR abilities, but I gave it a shot:
It ran smoothly, but maybe this isn't a totally clean environment? EDIT: I went back and made sure to actually remove the |
Thank you for trying it out! I'm looking at the There is a documented way to declare runtime-only dependencies ( |
I removed the dependency on |
Any news about this? Did you have the opportunity to try? |
I'll close this since I believe this issue is fixed. Please respond if you still encounter issues building |
Greetings,
https://wiki.archlinux.org/title/PKGBUILD#depends At the very least:
So even if you don't want to add it to |
I don't have powers to re-open this issue, let me know if you would prefer that a new one be filed. |
Can you please also fix the below issue of greetd-tuigreet-git? The git package solves #40 so I cannot switch to greetd-tuigreet or greed-tuigreetd-bin. andreafeletto mentioned in the comment section:
|
Hey! Thanks for the great package! There are few issues in PKGBUILD in AUR right now, I modified it a bit to address them: https://github.com/ava1ar/PKGBUILDs/tree/master/greetd-tuigreet. Similar changes to be done for other packages for tuigreet.
The text was updated successfully, but these errors were encountered: