You are not logged in.

#1 2016-05-19 15:02:39

m.usama951
Member
Registered: 2016-05-19
Posts: 8

Package missing from AUR

Hi
I have reinstalled my arch after two years. In my previous installaion, I had installed a package name "zekr" from AUR. Now after new installation when I am searching AUR for package, its not there. It is removed from AUR. Although zekr can be downloaded from its website but its not my preferred way. My preferred way of installation is from AUR which was smooth and seamless last time. So my question is that now the package is missing from AUR, can it be found anywhere on any arch repo? or is there any other AUR backup which contains all the packages? Or any other way to install it using packer?
Regards

Offline

#2 2016-05-19 15:03:44

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: Package missing from AUR

Have you looked in the AUR (pre version 4) archive?  I will edit this post with the link in a few.

EDIT: https://wiki.archlinux.org/index.php/Ar … 3_packages

Last edited by graysky (2016-05-19 15:04:19)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2016-05-20 04:47:50

m.usama951
Member
Registered: 2016-05-19
Posts: 8

Re: Package missing from AUR

graysky wrote:

Have you looked in the AUR (pre version 4) archive?  I will edit this post with the link in a few.

EDIT: https://wiki.archlinux.org/index.php/Ar … 3_packages

Thanks. I have found zekr at:
http://pkgbuild.com/git/aur-mirror.git/tree/zekr
and downloaded PKGBUILD and zekr.desktop. However 'makepkg -si' is giving following error:

==> ERROR: license should be an array

I googled and found that at AUR some people reported that error for some other packages but with no solution.
Any help here?
Regards

Offline

#4 2016-05-20 05:35:09

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: Package missing from AUR

See the PKGBUILD documentation: https://wiki.archlinux.org/index.php/PKGBUILD

Recent versions of makepkg enforce using the correct variable types -- no using a regular variable where an array is expected, or vice versa.
I have no idea why other people didn't find that solution, the error message itself is rather explicit. roll


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#5 2016-05-20 07:50:42

mis
Member
Registered: 2016-03-16
Posts: 234

Re: Package missing from AUR

license=('GPL')

Offline

#6 2016-05-20 11:05:53

m.usama951
Member
Registered: 2016-05-19
Posts: 8

Re: Package missing from AUR

mis wrote:

license=('GPL')

Thanks a lot.
Thanks everyone for helping me. It is a much needed software smile

Offline

#7 2016-05-21 00:06:28

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: Package missing from AUR

If you fixed the PKGBUILD, consider submitting it to the AUR if you haven't already.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#8 2016-05-21 10:14:09

m.usama951
Member
Registered: 2016-05-19
Posts: 8

Re: Package missing from AUR

graysky wrote:

If you fixed the PKGBUILD, consider submitting it to the AUR if you haven't already.

Yes, it will be good to have zekr back in AUR because as a Teacher I frequently recommend my students to consult zekr for research purpose. But I dont have sufficient skills to upload it at AUR (I tried to follow AUR guidance but some steps are difficult). Can you (or someone) else do it for us? Or provide me guidance to do that?
PS: Created a GIT Repo (https://github.com/musama951/zekr) but still not able to upload it sad
May be because I am a researcher of humanities, and not a skilled programmer.
Thanks

Last edited by m.usama951 (2016-05-21 10:17:06)

Offline

#9 2016-05-21 10:19:12

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: Package missing from AUR


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#10 2016-05-21 10:27:29

m.usama951
Member
Registered: 2016-05-19
Posts: 8

Re: Package missing from AUR

Yes. Already did that, check my bash history:

echo "# zekr" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/musama951/zekr.git
git push -u origin master

And as a result got this:
https://github.com/musama951/zekr

Offline

#11 2016-05-21 10:37:29

m.usama951
Member
Registered: 2016-05-19
Posts: 8

Re: Package missing from AUR

I think I got it
https://aur.archlinux.org/packages/zekr/
But needs to be varified that if its correct.

Offline

#12 2016-05-21 10:40:20

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: Package missing from AUR

Looks good.  You might consider quoting $srcdir.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#13 2016-05-21 11:11:35

m.usama951
Member
Registered: 2016-05-19
Posts: 8

Re: Package missing from AUR

graysky wrote:

Looks good.  You might consider quoting $srcdir.

WoW... it means one can publish a package entirely by chance. I was thinking that there would be horrible mistakes in it  smile
Sorry not able to understand by 'quoting #srcdir", do you mean commenting this line in PKGBUILD?
One more thing, I was inspecting some other package at AUR and noticed that many packages contain  a .gitignore file. How can I determine what to include in my .gitignore file.
Regards

Offline

#14 2016-05-21 12:47:01

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,925

Re: Package missing from AUR

Many people seem to build packages in the folder used for the git repo or store non-aur files there also.
If the git repo folder only has the files in it needed for the aur, you don't need a .gitignore file.

$srcdir content can have spaces, not all programs know how to handle paths with spaces in them.
By puttting double quotes around the variable, bash will do something called variable expansion (atleast i think that's the name used) to ensure the correct path is used.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#15 2016-05-21 15:18:55

m.usama951
Member
Registered: 2016-05-19
Posts: 8

Re: Package missing from AUR

Lone_Wolf wrote:

Many people seem to build packages in the folder used for the git repo or store non-aur files there also.
If the git repo folder only has the files in it needed for the aur, you don't need a .gitignore file.

$srcdir content can have spaces, not all programs know how to handle paths with spaces in them.
By puttting double quotes around the variable, bash will do something called variable expansion (atleast i think that's the name used) to ensure the correct path is used.

Thanks a lot

Offline

Board footer

Powered by FluxBB