You are not logged in.

#1 2011-10-22 22:22:41

MatejLach
Member
From: United Kingdom
Registered: 2011-06-22
Posts: 314
Website

[SOLVED] Several questions about packer

Until now, I was building and updating my aur packages manually, now I am trying packer.
I have several question about it.

1. Where does packer store its files [PKGBUILDS, builded packages etc.]
2. Does packer automatically delete these files after successful build?
3. Does packer have its main configuration file?

Thanks,

Last edited by MatejLach (2011-10-23 14:26:40)

Offline

#2 2011-10-22 23:17:14

kukibird1
Member
Registered: 2010-04-06
Posts: 11

Re: [SOLVED] Several questions about packer

MatejLach wrote:

Until now, I was building and updating my aur packages manually, now I am trying packer.
I have several question about it.

1. Where does packer store its files [PKGBUILDS, builded packages etc.]
2. Does packer automatically delete these files after successful build?
3. Does packer have its main configuration file?

Thanks,

man packer

/usr/bin/packer

#!/bin/bash
# Copyright Matthew Bruenig <matthewbruenig@gmail.com>
# Licensed under GPL version 3

# set tmpfile stuff, clean tmpdir
tmpdir="${TMPDIR:-/tmp}/packertmp-$UID"
rm -rf "$tmpdir" &>/dev/null
mkdir -p "$tmpdir"

makepkgconf='/etc/makepkg.conf'
usermakepkgconf="$HOME/.makepkg.conf"
pacmanconf='/etc/pacman.conf'

makepkg

Offline

#3 2011-10-23 09:42:16

MatejLach
Member
From: United Kingdom
Registered: 2011-06-22
Posts: 314
Website

Re: [SOLVED] Several questions about packer

kukibird1 wrote:
MatejLach wrote:

Until now, I was building and updating my aur packages manually, now I am trying packer.
I have several question about it.

1. Where does packer store its files [PKGBUILDS, builded packages etc.]
2. Does packer automatically delete these files after successful build?
3. Does packer have its main configuration file?

Thanks,

man packer

/usr/bin/packer

#!/bin/bash
# Copyright Matthew Bruenig <matthewbruenig@gmail.com>
# Licensed under GPL version 3

# set tmpfile stuff, clean tmpdir
tmpdir="${TMPDIR:-/tmp}/packertmp-$UID"
rm -rf "$tmpdir" &>/dev/null
mkdir -p "$tmpdir"

makepkgconf='/etc/makepkg.conf'
usermakepkgconf="$HOME/.makepkg.conf"
pacmanconf='/etc/pacman.conf'

makepkg

All right, I did looked at packer's man page, but did not realized that makepkg will be the right think to look into, since packer is pacman's wrapper and so I was assuming that pacman.conf was the right place to look into.
Anyway,

Thanks very much, you just saved my day! :-)

Offline

Board footer

Powered by FluxBB