kuro
kuro copied to clipboard
[Feature š]: AUR package for Arch Linux
Hello. I seem to find the .pacman file which could be installed locally by using pacman -U. But cant seem to find a AUR package. Installing and from AUR would be very much easier. I think modifying the ao pkgbuild slightly would do the job. Just need to create the AUR package. km
Hey :wave: I'm not a very experienced Arch user, I thought the pacman
package would suffice as in my experience with Arch was easier to install pacman
than AUR
.
I've picked up some articles and this seems feasible, so I'll work on adding an AUR package when I have the time, but if someone wants to have a go at it, feel free :+1:
isn't this your AUR package? https://aur.archlinux.org/packages/ao
@MaaxGr No, it is not :disappointed:
I'll try to tackle this and other stores in the coming weeks
So someone else is just using your upstream? :D
@MaaxGr Indeed :point_down:
I need to get around to publish Kuro in AUR, but I don't use Arch Linux and I've had a little difficulty trying to set up the publishing environment. Hopefully in the next weeks I'll take care of this
# Maintainer: ???
pkgname=kuro-appimage
pkgver=8.1.3
pkgrel=1
pkgdesc="An elegant Microsoft ToDo desktop client for Linux (a fork of Ao)"
arch=("x86_64")
url="https://github.com/davidsmorais/kuro"
license=("unknown")
_pkgname="Kuro-${pkgver}.AppImage"
noextract=(${_pkgname})
options=("!strip")
provides=("kuro")
optdepends=()
source=("https://github.com/davidsmorais/kuro/releases/download/v${pkgver}/${_pkgname}")
sha512sums=("SKIP")
_installdir=/opt/kuro
prepare() {
cd ${srcdir}
chmod a+x ${_pkgname}
${srcdir}/${_pkgname} --appimage-extract >/dev/null
sed -i "s+AppRun+env DESKTOPINTEGRATION=no ${_installdir}/Kuro.AppImage+" "squashfs-root/kuro.desktop"
sed -i "s+Icon=kuro+Icon=kuro-appimage+" "squashfs-root/kuro.desktop"
}
package() {
install -Dm755 ${_pkgname} "${pkgdir}/${_installdir}/Kuro.AppImage"
install -Dm644 "squashfs-root/usr/share/icons/hicolor/1024x1024/apps/kuro.png" "${pkgdir}/usr/share/icons/hicolor/1024x1024/apps/kuro-appimage.png"
install -Dm644 "squashfs-root/usr/share/icons/hicolor/512x512/apps/kuro.png" "${pkgdir}/usr/share/icons/hicolor/512x512/apps/kuro-appimage.png"
install -Dm644 "squashfs-root/usr/share/icons/hicolor/256x256/apps/kuro.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/kuro-appimage.png"
install -Dm644 "squashfs-root/usr/share/icons/hicolor/128x128/apps/kuro.png" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/kuro-appimage.png"
install -Dm644 "squashfs-root/kuro.desktop" "${pkgdir}/usr/share/applications/kuro-appimage.desktop"
}
this PKGBUILD file may helps.
but version 8.1.3 doesn't work, you can change pkgver
to 8.1.0
( #37 ) and change _pkgname
from Kuro-${pkgver}.AppImage
to Kuro.${pkgver}.AppImage
. then, just run makepkg -sri
and it works.
@davidsmorais if you can name the package with a fixed naming scheme, then after you release an update , you just need to change the version number here then update the sha512 value and push it to the AUR.
i'd like to become the AUR package maintainer but i have my own works to do... so i'm sorry for that.
Published kuro-appimage
in AUR.
https://aur.archlinux.org/packages/kuro-appimage
paru -S kuro-appimage
or
yay -S kuro-appimage
@MaaxGr @davidsmorais As far as I know, there is nothing wrong with someone else 'using your upstream', nowhere in the package I claim the ownership of the upstream. I did not even wrote the original PKGBUILD, I am just maintaining it, because I am personally using Kuro.
That being said, I will happily transfer the ownership to you. I do not like the package being named ao, but migration will mean inconveniencing the current user base of the package.
@Reverier-Xu Although appimage version will have its own uses, I believe there should also be a package using the .pacman file. Current PKGBUILD I am using utilizes .deb file, which is suboptimal.
Hey @bilal-tasdelen š
When I forked Ao, my intention was to get it working to as many Linux users as possible, so I thank you for changing Ao's upstream to Kuroš I also have no problem at all with you keeping ownership of the current Ao AUR package or even open a new one for Kuro. But it's like I said before, I don't have much experience with Arch, so I'm cool if someone else wants to help deploy this to AUR in any format, while I don't get around to it š
Alright, I will be of service to keep this nice package alive and kicking.
To respect your branding, I will create a new package named kuro
. I already prepared a PKGBUILD using your Arch Linux packaging (.pacman file), I hope it will work. I will let ao
package stay for a couple of weeks, warning the users to switch to kuro
package, as ao
will be deleted.
Thank you :heart:
Thanks for publishing packages on AUR. You even have an App-image over there, which is great, because it installs on my Manjaro system without hitch. Could you maybe update the App-image on AUR to the newest version?
With the regular AUR package, I got the following error: `Preparingā¦ Synchronizing package databasesā¦ unable to lock database Failed to synchronize databases Refreshing AURā¦ Cloning kuro build filesā¦ Generating kuro informationā¦ Checking kuro dependenciesā¦ Resolving dependenciesā¦ Checking inter-conflictsā¦
Building kuroā¦ ==> Making package: kuro 8.1.6-3 (Fri 16 Dec 2022 03:06:26 PM IST) ==> Checking runtime dependenciesā¦ ==> Checking buildtime dependenciesā¦ ==> Retrieving sourcesā¦ -> Found kuro -> Found kuro.desktop -> Downloading kuro-8.1.6.tar.gzā¦ % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:ā:-- --:ā:-- --:ā:-- 0 0 0 0 0 0 0 0 0 --:ā:-- --:ā:-- --:ā:-- 0 0 0 0 0 0 0 0 0 --:ā:-- --:ā:-- --:ā:-- 0
0 0 0 0 0 0 0 0 --:ā:-- 0:00:01 --:ā:-- 0
0 0 0 0 0 0 0 0 --:ā:-- 0:00:02 --:ā:-- 0
0 0 0 0 0 0 0 0 --:ā:-- 0:00:03 --:ā:-- 0
0 0 0 0 0 0 0 0 --:ā:-- 0:00:04 --:ā:-- 0
0 0 0 0 0 0 0 0 --:ā:-- 0:00:05 --:ā:-- 0
100 730 0 730 0 0 116 0 --:ā:-- 0:00:06 --:ā:-- 142
100 551k 0 551k 0 0 78985 0 --:ā:-- 0:00:07 --:ā:-- 111k
100 720k 0 720k 0 0 97k 0 --:ā:-- 0:00:07 --:ā:-- 173k
==> Validating source files with sha256sumsā¦
kuro ā¦ Passed
kuro.desktop ā¦ Passed
kuro-8.1.6.tar.gz ā¦ Passed
==> Removing existing $srcdir/ directoryā¦
==> Extracting sourcesā¦
-> Extracting kuro-8.1.6.tar.gz with bsdtar
==> Starting build()ā¦
yarn install v1.22.19
[1/4] Resolving packagesā¦
[2/4] Fetching packagesā¦
[3/4] Linking dependenciesā¦
warning āxo > [email protected]ā has unmet peer dependency āwebpack@>=1.11.0ā.
[4/4] Building fresh packagesā¦
error /var/tmp/pamac-build-shmuel/kuro/src/kuro-8.1.6/node_modules/electron: Command failed.
Exit code: 1
Command: node install.js
Arguments:
Directory: /var/tmp/pamac-build-shmuel/kuro/src/kuro-8.1.6/node_modules/electron
Output:
RequestError: unable to verify the first certificate
at ClientRequest.
Thanks for publishing packages on AUR. You even have an App-image over there, which is great, because it installs on my Manjaro system without hitch. Could you maybe update the App-image on AUR to the newest version?
I apologize for the late reply, I'm infected with the covid-19 these days. I will update the newest version to AUR now. I don't have much time to spend on maintaining the package, so I can transfer the maintenance of this package to someone if it want to take over the maintenance.
Thanks @Reverier-Xu :pray: I've also been busy with life affairs, will try to figure out how to work with AUR in my Debian based OS and possibly add a manual deployment script so I can update the AUR package whenever I release a new version here/Snap.
Hi, tugyan had uploaded an AUR package kuro which build from source.
BTW, please refer nvcheck and aurpublish if you want to update AUR package per release.