> Il 28/mar/2015 10:22 AM Gordian Edenhofer <gordian.edenhofer(a)gmail.com> ha scritto:
> >
> > Dear Giovanni,
> >
> > I would recomment you two great articles on building custom packages
> > for the AUR. The first one concerenes how a PKGBUILD works:
> > https://wiki.archlinux.org/index.php/PKGBUILD . It will give you an
> > idea of what is needed and how it is done. The second one concentrates
> > on really building an AUR-ready src-file:
> > https://wiki.archlinux.org/index.php/Creating_packages .
> > They are both rather easy to read and should give you an overall idea
> > of what to expect.
> > If you question however was whether there are already packages with
> > that source in the AUR, then you might be better of just searching the
> > AUR git repo, which is hosted here:
> > http://pkgbuild.com/git/aur-mirror.git/ , refer to
> > https://wiki.archlinux.org/index.php/Arch_User_Repository#Git_repository
> > for more info on how to fetch that repo and possibly search in it.
> >
> > I hope I could help you.
> >
> > Best regards,
> > Gordian
> >
>
Many thanks Gordian for the tip, I already know (somehow) how to write a PKGBUILD.
I was asking if it's possible to add multiple package builds (in this case, the main program and the various solvers) in just one PKGBUILD and, if that's possible, how to do it.
As PKGBUILDs have a Bash-like syntax, I suppose there's something like a "function" (Bash ones, I mean) in order to have different packages.
Giovanni Santini
---
Coding stuff: https://github.com/ItachiSan
=== Signoff report for [community-testing] ===
https://www.archlinux.org/packages/signoffs/
There are currently:
* 0 new packages in last 24 hours
* 0 known bad packages
* 0 packages not accepting signoffs
* 0 fully signed off packages
* 9 packages missing signoffs
* 1 package older than 14 days
(Note: the word 'package' as used here refers to packages as grouped by
pkgbase, architecture, and repository; e.g., one PKGBUILD produces one
package per architecture, even if it is a split package.)
== Incomplete signoffs for [community] (9 total) ==
* mantisbt-1.2.19-2 (any)
0/2 signoffs
* mongodb-3.0.1-1 (i686)
0/1 signoffs
* mysql-workbench-6.2.5-3 (i686)
0/1 signoffs
* packagekit-1.0.5-3 (i686)
0/1 signoffs
* shhmsg-1.4.2-1 (i686)
0/1 signoffs
* mongodb-3.0.1-1 (x86_64)
0/2 signoffs
* mysql-workbench-6.2.5-3 (x86_64)
0/2 signoffs
* packagekit-1.0.5-3 (x86_64)
0/2 signoffs
* shhmsg-1.4.2-1 (x86_64)
0/2 signoffs
== All packages in [community-testing] for more than 14 days (1 total) ==
* mantisbt-1.2.19-2 (any), since 2015-02-17
== Top five in signoffs in last 24 hours ==
1. tpowa - 7 signoffs
2. arodseth - 1 signoffs
3. dreisner - 1 signoffs
=== Signoff report for [community-testing] ===
https://www.archlinux.org/packages/signoffs/
There are currently:
* 1 new package in last 24 hours
* 0 known bad packages
* 0 packages not accepting signoffs
* 0 fully signed off packages
* 14 packages missing signoffs
* 1 package older than 14 days
(Note: the word 'package' as used here refers to packages as grouped by
pkgbase, architecture, and repository; e.g., one PKGBUILD produces one
package per architecture, even if it is a split package.)
== New packages in [community-testing] in last 24 hours (1 total) ==
* gitolite-3.6.2-2 (any)
== Incomplete signoffs for [community] (13 total) ==
* mantisbt-1.2.19-2 (any)
0/2 signoffs
* goaccess-0.9-1 (i686)
0/1 signoffs
* google-glog-0.3.4-1 (i686)
0/1 signoffs
* mongodb-3.0.1-1 (i686)
0/1 signoffs
* mysql-workbench-6.2.5-3 (i686)
0/1 signoffs
* packagekit-1.0.5-3 (i686)
0/1 signoffs
* shhmsg-1.4.2-1 (i686)
0/1 signoffs
* goaccess-0.9-1 (x86_64)
0/2 signoffs
* google-glog-0.3.4-1 (x86_64)
0/2 signoffs
* mongodb-3.0.1-1 (x86_64)
0/2 signoffs
* mysql-workbench-6.2.5-3 (x86_64)
0/2 signoffs
* packagekit-1.0.5-3 (x86_64)
0/2 signoffs
* shhmsg-1.4.2-1 (x86_64)
0/2 signoffs
== Incomplete signoffs for [unknown] (1 total) ==
* gitolite-3.6.2-2 (any)
0/2 signoffs
== All packages in [community-testing] for more than 14 days (1 total) ==
* mantisbt-1.2.19-2 (any), since 2015-02-17
== Top five in signoffs in last 24 hours ==
=== Signoff report for [community-testing] ===
https://www.archlinux.org/packages/signoffs/
There are currently:
* 0 new packages in last 24 hours
* 0 known bad packages
* 0 packages not accepting signoffs
* 0 fully signed off packages
* 13 packages missing signoffs
* 1 package older than 14 days
(Note: the word 'package' as used here refers to packages as grouped by
pkgbase, architecture, and repository; e.g., one PKGBUILD produces one
package per architecture, even if it is a split package.)
== Incomplete signoffs for [community] (13 total) ==
* mantisbt-1.2.19-2 (any)
0/2 signoffs
* goaccess-0.9-1 (i686)
0/1 signoffs
* google-glog-0.3.4-1 (i686)
0/1 signoffs
* mongodb-3.0.1-1 (i686)
0/1 signoffs
* mysql-workbench-6.2.5-3 (i686)
0/1 signoffs
* packagekit-1.0.5-3 (i686)
0/1 signoffs
* shhmsg-1.4.2-1 (i686)
0/1 signoffs
* goaccess-0.9-1 (x86_64)
0/2 signoffs
* google-glog-0.3.4-1 (x86_64)
0/2 signoffs
* mongodb-3.0.1-1 (x86_64)
0/2 signoffs
* mysql-workbench-6.2.5-3 (x86_64)
0/2 signoffs
* packagekit-1.0.5-3 (x86_64)
0/2 signoffs
* shhmsg-1.4.2-1 (x86_64)
0/2 signoffs
== All packages in [community-testing] for more than 14 days (1 total) ==
* mantisbt-1.2.19-2 (any), since 2015-02-17
== Top five in signoffs in last 24 hours ==
=== Signoff report for [community-testing] ===
https://www.archlinux.org/packages/signoffs/
There are currently:
* 2 new packages in last 24 hours
* 0 known bad packages
* 0 packages not accepting signoffs
* 0 fully signed off packages
* 13 packages missing signoffs
* 1 package older than 14 days
(Note: the word 'package' as used here refers to packages as grouped by
pkgbase, architecture, and repository; e.g., one PKGBUILD produces one
package per architecture, even if it is a split package.)
== New packages in [community-testing] in last 24 hours (2 total) ==
* shhmsg-1.4.2-1 (i686)
* shhmsg-1.4.2-1 (x86_64)
== Incomplete signoffs for [community] (13 total) ==
* mantisbt-1.2.19-2 (any)
0/2 signoffs
* goaccess-0.9-1 (i686)
0/1 signoffs
* google-glog-0.3.4-1 (i686)
0/1 signoffs
* mongodb-3.0.1-1 (i686)
0/1 signoffs
* mysql-workbench-6.2.5-3 (i686)
0/1 signoffs
* packagekit-1.0.5-3 (i686)
0/1 signoffs
* shhmsg-1.4.2-1 (i686)
0/1 signoffs
* goaccess-0.9-1 (x86_64)
0/2 signoffs
* google-glog-0.3.4-1 (x86_64)
0/2 signoffs
* mongodb-3.0.1-1 (x86_64)
0/2 signoffs
* mysql-workbench-6.2.5-3 (x86_64)
0/2 signoffs
* packagekit-1.0.5-3 (x86_64)
0/2 signoffs
* shhmsg-1.4.2-1 (x86_64)
0/2 signoffs
== All packages in [community-testing] for more than 14 days (1 total) ==
* mantisbt-1.2.19-2 (any), since 2015-02-17
== Top five in signoffs in last 24 hours ==
=== Signoff report for [community-testing] ===
https://www.archlinux.org/packages/signoffs/
There are currently:
* 2 new packages in last 24 hours
* 0 known bad packages
* 0 packages not accepting signoffs
* 0 fully signed off packages
* 15 packages missing signoffs
* 1 package older than 14 days
(Note: the word 'package' as used here refers to packages as grouped by
pkgbase, architecture, and repository; e.g., one PKGBUILD produces one
package per architecture, even if it is a split package.)
== New packages in [community-testing] in last 24 hours (2 total) ==
* mongodb-3.0.1-1 (i686)
* mongodb-3.0.1-1 (x86_64)
== Incomplete signoffs for [community] (15 total) ==
* mantisbt-1.2.19-2 (any)
0/2 signoffs
* goaccess-0.9-1 (i686)
0/1 signoffs
* google-glog-0.3.4-1 (i686)
0/1 signoffs
* mongodb-3.0.1-1 (i686)
0/1 signoffs
* musescore-2.0rc-1 (i686)
0/1 signoffs
* mysql-workbench-6.2.5-3 (i686)
0/1 signoffs
* packagekit-1.0.5-3 (i686)
0/1 signoffs
* weston-1.7.0-2 (i686)
0/1 signoffs
* goaccess-0.9-1 (x86_64)
0/2 signoffs
* google-glog-0.3.4-1 (x86_64)
0/2 signoffs
* mongodb-3.0.1-1 (x86_64)
0/2 signoffs
* musescore-2.0rc-1 (x86_64)
0/2 signoffs
* mysql-workbench-6.2.5-3 (x86_64)
0/2 signoffs
* packagekit-1.0.5-3 (x86_64)
0/2 signoffs
* weston-1.7.0-2 (x86_64)
0/2 signoffs
== All packages in [community-testing] for more than 14 days (1 total) ==
* mantisbt-1.2.19-2 (any), since 2015-02-17
== Top five in signoffs in last 24 hours ==