Difference between revisions of "Manjaro-tools"
Views
Actions
Namespaces
Variants
Tools
→buildpkg: update and fix errors
imported>Excalibur1234 |
imported>Aaditya |
||
Line 100: | Line 100: | ||
buildpkg -p <package-name> | buildpkg -p <package-name> | ||
For example, | For example, we want to build the upower-pm-utils package from the following PKGBUILD folders | ||
$ ls | $ ls | ||
Line 113: | Line 113: | ||
manjaro-openrc openrc-net | manjaro-openrc openrc-net | ||
$ buildpkg - | To test if the options are correct, the {{ic|-q}} option can be used. | ||
$ buildpkg -q upower-pm-utils | |||
==> manjaro-tools | ==> manjaro-tools | ||
-> version: 0.9.5.6 | -> version: 0.9.5.6 | ||
Line 145: | Line 147: | ||
-> upower-pm-utils | -> upower-pm-utils | ||
To build a set the name of the set can be used. | After that to build the package {{ic|-p}} can be used. | ||
$ buildpkg -p upower-pm-utils | |||
==> Updating chroot for [testing] (x86_64)... | |||
:: Synchronizing package databases... | |||
core is up to date | |||
extra is up to date | |||
community is up to date | |||
:: Starting full system upgrade... | |||
there is nothing to do | |||
==> Making package: upower-pm-utils 0.9.23-4 (Mon Jan 12 12:38:16 IST 2015) | |||
==> Retrieving sources... | |||
... | |||
... | |||
==> Leaving fakeroot environment. | |||
==> Finished making: upower-pm-utils 0.9.23-4 (Mon Jan 12 07:08:28 UTC 2015) | |||
To clean the chroot before building {{ic|-c -p}} can be used. | |||
$ buildpkg -p upower-pm-utils -c | |||
==> Creating chroot for [testing] (x86_64)... | |||
-> Deleting chroot copy 'aaditya'... | |||
-> Deleting chroot copy 'root'... | |||
==> Creating install root at /mnt/datalinux2/manjaro-tools/testing/x86_64/root | |||
==> Installing packages to /mnt/datalinux2/manjaro-tools/testing/x86_64/root | |||
:: Synchronizing package databases... | |||
core 133.7 KiB 30.8K/s 00:04 [######################] 100% | |||
extra 1920.2 KiB 392K/s 00:05 [######################] 100% | |||
community 2.7 MiB 512K/s 00:05 [######################] 100% | |||
:: There are 25 members in group base-devel: | |||
:: Repository core | |||
1) autoconf 2) automake 3) binutils 4) bison 5) fakeroot 6) file | |||
7) findutils 8) flex 9) gawk 10) gcc 11) gettext 12) grep 13) groff | |||
14) gzip 15) libtool 16) m4 17) make 18) pacman 19) patch | |||
20) pkg-config 21) sed 22) sudo 23) texinfo 24) util-linux 25) which | |||
... | |||
... | |||
==> Creating clean working copy [aaditya]... | |||
==> Making package: upower-pm-utils 0.9.23-4 (Mon Jan 12 12:37:00 IST 2015) | |||
==> Retrieving sources... | |||
... | |||
... | |||
==> Leaving fakeroot environment. | |||
==> Finished making: upower-pm-utils 0.9.23-4 (Mon Jan 12 07:07:20 UTC 2015) | |||
To build a set the name of the set can be used. The current sets can be queried with the {{ic|-q}} option. |