You are not logged in.

#1 2021-01-20 23:59:43

normalaccount
Member
Registered: 2020-11-12
Posts: 20

How to create a package for Ubuntu using a PKGBUILD from the AUR?

Hey,

My buddy is on an Ubuntu-based distro (Mint) and wants to use a package that I use on my Arch installation. The package can be found on the AUR but not in the official repos for ubuntu nor in the ppas (https://aur.archlinux.org/packages/pep8-asm-git/).

So I was just wondering if it was possible to make a pkgbuild usable on debian-based distros?

Thanks for the help.

Offline

#2 2021-01-21 00:06:23

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 8,315

Re: How to create a package for Ubuntu using a PKGBUILD from the AUR?

No, you'd have to start from scratch.

Offline

#3 2021-01-21 00:35:03

Slithery
Forum Moderator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 4,159

Re: How to create a package for Ubuntu using a PKGBUILD from the AUR?

Upstream already provide a binary usable on any Linux system.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#4 2021-01-21 01:22:42

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 25,088
Website

Re: How to create a package for Ubuntu using a PKGBUILD from the AUR?

There's also nothing to that PKGBUILD really.  Have your friend just download the source and run qmake, make, the copy the binary to /usr/bin, that's it.

If he want's the result managed by apt (or dpkg, or whatever) then he should be able to use debian's checkinstall, but you/he would have to ask on a debian forum for information about that.

Last edited by Trilby (2021-01-21 01:24:34)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2021-01-21 09:31:18

Khere
Member
From: Italy
Registered: 2020-03-04
Posts: 73

Re: How to create a package for Ubuntu using a PKGBUILD from the AUR?

normalaccount wrote:

The package can be found on the AUR  https://aur.archlinux.org/packages/pep8-asm-git/

You can simply download the source and compile it, makepkg is Arch-integrated and cannot be use for compile on other distro

Last edited by Khere (2021-01-21 09:32:51)


Fan of Giorgio Moroder & Mohammad Ammax enemy

Offline

#6 2021-01-21 10:14:54

progandy
Member
Registered: 2012-05-17
Posts: 4,122

Re: How to create a package for Ubuntu using a PKGBUILD from the AUR?

An older version seems to be packaged as pep8-simul already.
https://packages.ubuntu.com/groovy/pep8-simul


I recently discovered a tool that tries to build .deb packages from PKGBUILD files. I have never tried it and the results may vary. (It does not build in fakeroot, source checksum are not verified, and you might not have the required versions ofdependencies available )
https://github.com/instantOS/instantDEB

Last edited by progandy (2021-01-21 10:23:07)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#7 2021-01-21 11:15:24

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 8,887

Re: How to create a package for Ubuntu using a PKGBUILD from the AUR?

<edit>
Apparently there are 2 products whose name starts with pep8 .

One is a python program that was renamed a few years ago  , the other is a C++ program .
OP needs the latter, but my remarks were about the former.
I'm going to use [ del ] tags to clarify my remarks are not relevant.

Mr Eschwartz, perhaps you could also those tags in your responses to my remarks ?
<end of edit>


Did some searching and it seems pep8 was renamed to pycodestyle .

Check https://github.com/PyCQA/pycodestyle & https://github.com/PyCQA/pycodestyle/issues/466

Last edited by Lone_Wolf (2021-01-22 19:13:07)


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

#8 2021-01-21 12:16:55

eschwartz
Trusted User/Bug Wrangler
Registered: 2014-08-08
Posts: 3,924

Re: How to create a package for Ubuntu using a PKGBUILD from the AUR?

But the OP is asking about http://computersystemsbook.com/4th-edition/pep8/ so I'm really not sure why you're mentioning some python program.


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

Offline

#9 2021-01-21 12:32:45

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 8,887

Re: How to create a package for Ubuntu using a PKGBUILD from the AUR?


I'm not mentioning "some python program" but the successor of the pep8 tool.

If that book is not about the python pep8 tool but about some other program that has pep8 in the name, then I misunderstood the issue.

Last edited by Lone_Wolf (2021-01-22 19:13:32)


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

#10 2021-01-21 12:36:59

eschwartz
Trusted User/Bug Wrangler
Registered: 2014-08-08
Posts: 3,924

Re: How to create a package for Ubuntu using a PKGBUILD from the AUR?

Lone_Wolf wrote:

I'm not mentioning "some python program" but the successor of the pep8 tool.

You are mentioning "the successor to some python program"...

Lone_Wolf wrote:

If that book is not about the python pep8 tool but about some other program that has pep8 in the name, then I misunderstood the issue.

... which is not the AUR package linked by the OP ("pep8-asm-git") or the Ubuntu package name progandy discovered ("pep8-simul").


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

Offline

Board footer

Powered by FluxBB