You are not logged in.

#1 2022-02-02 10:19:30

stupid-kid-af
Member
Registered: 2021-12-16
Posts: 27

How can I make PKGBUILD for my pyqt5 app??

Here's the app link => https://github.com/stupid-kid-af/Encrypt-Decrypt-PyQt5
Any help would be highly appreciated
Thanks

Offline

#2 2022-02-02 10:37:59

ishaanbhimwal
Member
Registered: 2022-01-21
Posts: 48
Website

Re: How can I make PKGBUILD for my pyqt5 app??

Use a existing PKGBUILD for a similar packge as a template like this:

https://aur.archlinux.org/cgit/aur.git/ … yqt5-stubs

Make sure you go through AUR guidelines before submitting your package:

https://wiki.archlinux.org/title/AUR_su … guidelines

Offline

#3 2022-02-02 11:24:33

stupid-kid-af
Member
Registered: 2021-12-16
Posts: 27

Re: How can I make PKGBUILD for my pyqt5 app??

Could you plz edit pkgbuild according to my pyqt5 app?

Offline

#4 2022-02-02 11:56:23

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,359
Website

Re: How can I make PKGBUILD for my pyqt5 app??

Mod note: Moving to AUR Issues, Discussion & PKGBUILD Requests.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2022-02-03 12:40:59

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,840

Re: How can I make PKGBUILD for my pyqt5 app??

stupid-kid-af , your app currently appears to consists of 3 python scripts and some folders with files.

There is no setup.py or other method to install them, you'll have to create that first.

I suggest you check https://pypi.org/project/setuptools/ to look into methods to install python applications.

https://wiki.archlinux.org/title/Python … guidelines might also be useful.


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

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#6 2022-02-04 13:00:33

stupid-kid-af
Member
Registered: 2021-12-16
Posts: 27

Re: How can I make PKGBUILD for my pyqt5 app??

will try
Btw thanks for replying

Offline

#7 2022-02-04 19:02:54

stupid-kid-af
Member
Registered: 2021-12-16
Posts: 27

Re: How can I make PKGBUILD for my pyqt5 app??

Lone_Wolf wrote:

stupid-kid-af , your app currently appears to consists of 3 python scripts and some folders with files.

There is no setup.py or other method to install them, you'll have to create that first.

I suggest you check https://pypi.org/project/setuptools/ to look into methods to install python applications.

https://wiki.archlinux.org/title/Python … guidelines might also be useful.


I made setup.py and the PKGBUILD but after running it on terminal shows command not found.
I uploaded my setup.py and PKGBUILD
https://github.com/stupid-kid-af/Encrypt-Decrypt-PyQt5

Offline

#8 2022-02-04 20:01:45

loqs
Member
Registered: 2014-03-06
Posts: 18,819

Re: How can I make PKGBUILD for my pyqt5 app??

The PKGBUILD does not include a sources array so makepkg does not extract/copy any files to $srcdir which explains the file not found error.

Offline

Board footer

Powered by FluxBB