Skip to content

Commit

Permalink
Merge branch 'feature/ghi-#14-snowblock-pacman' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
arcticicestudio committed Jan 28, 2017
2 parents 6252745 + 1110b92 commit fa6909c
Show file tree
Hide file tree
Showing 7 changed files with 239 additions and 0 deletions.
1 change: 1 addition & 0 deletions snowblocks/bash/config/env/igloo
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
export LANG=en_US.UTF-8
export LC_MESSAGES=POSIX

export STORE_PKGS=$HOME/store/pool/packages
export STORE_RUN=$HOME/store/run
export BITFROEST_HOME=$HOME/store/bitfroest

Expand Down
16 changes: 16 additions & 0 deletions snowblocks/bash/config/pkg/pacaur
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env bash
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++
# title pacaur Configuration +
# project igloo +
# repository https://github.com/arcticicestudio/igloo +
# author Arctic Ice Studio +
# email development@arcticicestudio.com +
# copyright Copyright (C) 2017 +
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++
#
# [References]
# pacaur(8)
# GitHub Repository
# https://github.com/rmarquis/pacaur

export AURDEST=/tmp/pacaur/cache
3 changes: 3 additions & 0 deletions snowblocks/bash/core/aliases
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ alias atom-hidpi='atom --force-device-scale-factor=1.5'
alias jj='java -jar'
alias sbrd='mvn spring-boot:run -Drun.jvmArguments="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9999"'

# +--- pacman ---+
alias pacman='pacman --config ~/.pacman.conf'

# +--- wget ---+
# Disable log file
alias wget='wget --hsts-file='
Expand Down
21 changes: 21 additions & 0 deletions snowblocks/pacman/makepkg.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++
# title Pacman makepkg Configuration +
# project igloo +
# repository https://github.com/arcticicestudio/igloo +
# author Arctic Ice Studio +
# email development@arcticicestudio.com +
# copyright Copyright (C) 2017 +
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++
#
# [References]
# pacman(8)
# makepkg(8)
# makepkg.conf(5)
# Arch Linux
# https://wiki.archlinux.org/index.php/makepkg
# https://wiki.archlinux.org/index.php/pacman

PACKAGER="Arctic Ice Studio <development@arcticicestudio.com>"
PKGDEST=$STORE_PKGS
SRCDEST=/tmp/makepkg
BUILDDIR=/tmp/makepkg/cache
91 changes: 91 additions & 0 deletions snowblocks/pacman/pacman.conf.archbook
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++
# title Pacman archbook Configuration +
# project igloo +
# repository https://github.com/arcticicestudio/igloo +
# author Arctic Ice Studio +
# email development@arcticicestudio.com +
# copyright Copyright (C) 2017 +
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++
#
# [GPG]
# Initialize the local keyring before first using pacman by running "pacman-key --init".
# Populate with the keys of all official Arch Linux packagers by running "pacman-key --populate archlinux".
#
# [References]
# pacman(8)
# pacman.conf(5)
# repo-add(8)
# Arch Linux
# https://wiki.archlinux.org/index.php/pacman
# https://www.archlinux.org/pacman/pacman.8.html
# https://www.archlinux.org/pacman/pacman.conf.5.html
# https://www.archlinux.org/pacman/repo-add.8.html

# +---------+
# + Options +
# +---------+
[options]
# Set the package architecture "i686" or "x86_64" for sync operations.
# The special value "auto" uses the system architecture.
# If unset, no architecture checks are made.
# Packages with the special architecture "any" can always be installed, as they are meant to be architecture
# independent.
Architecture = auto

# Set the default location of the package cache directory.
# Multiple cache directories can be specified as absolute path and they are tried in the order they are listed.
# If a file is not found in any cache directory, it will be downloaded to the first cache directory with write access.
CacheDir = /var/cache/pacman/pkg/ $STORE_PKGS

# List packages that should be protected against removement.
# Shell-style glob patterns are allowed.
HoldPkg = pacman glibc

# Instruct pacman to ignore any upgrades for the specified packages when performing a "--sysupgrade".
# Shell-style glob patterns are allowed.
IgnorePkg = harfbuzz harfbuzz-icu gdk-pixbuf2

# Instruct pacman to ignore any upgrades for all packages in the specified groups when performing a "--sysupgrade".
# Shell-style glob patterns are allowed.
IgnoreGroup =

# Enable tty color support.
Color

# Perform an approximate check for adequate available disk space before installing packages.
CheckSpace

# Display name, version and size of target packages formatted as a table for upgrade, sync and remove operations.
VerbosePkgLists

# Set the default signature verification level.
SigLevel = Required DatabaseOptional

# Sets the signature verification level for installing packages using the sync "-U" operation on a local file.
# Uses the value from the "SigLevel" options as the default.
LocalFileSigLevel = Optional

# +--------------+
# + Repositories +
# +--------------+
[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

#[multilib]
#Include = /etc/pacman.d/mirrorlist

#[community-testing]
#Include = /etc/pacman.d/mirrorlist

#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist

[bitfroest]
SigLevel = Optional TrustAll
Server = file:///home/sgreb/store/bitfroest
91 changes: 91 additions & 0 deletions snowblocks/pacman/pacman.conf.igloo
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++
# title Pacman igloo Configuration +
# project igloo +
# repository https://github.com/arcticicestudio/igloo +
# author Arctic Ice Studio +
# email development@arcticicestudio.com +
# copyright Copyright (C) 2017 +
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++
#
# [GPG]
# Initialize the local keyring before first using pacman by running "pacman-key --init".
# Populate with the keys of all official Arch Linux packagers by running "pacman-key --populate archlinux".
#
# [References]
# pacman(8)
# pacman.conf(5)
# repo-add(8)
# Arch Linux
# https://wiki.archlinux.org/index.php/pacman
# https://www.archlinux.org/pacman/pacman.8.html
# https://www.archlinux.org/pacman/pacman.conf.5.html
# https://www.archlinux.org/pacman/repo-add.8.html

# +---------+
# + Options +
# +---------+
[options]
# Set the package architecture "i686" or "x86_64" for sync operations.
# The special value "auto" uses the system architecture.
# If unset, no architecture checks are made.
# Packages with the special architecture "any" can always be installed, as they are meant to be architecture
# independent.
Architecture = auto

# Set the default location of the package cache directory.
# Multiple cache directories can be specified as absolute path and they are tried in the order they are listed.
# If a file is not found in any cache directory, it will be downloaded to the first cache directory with write access.
CacheDir = /var/cache/pacman/pkg/ $STORE_PKGS

# List packages that should be protected against removement.
# Shell-style glob patterns are allowed.
HoldPkg = pacman glibc

# Instruct pacman to ignore any upgrades for the specified packages when performing a "--sysupgrade".
# Shell-style glob patterns are allowed.
IgnorePkg = harfbuzz harfbuzz-icu gdk-pixbuf2

# Instruct pacman to ignore any upgrades for all packages in the specified groups when performing a "--sysupgrade".
# Shell-style glob patterns are allowed.
IgnoreGroup =

# Enable tty color support.
Color

# Perform an approximate check for adequate available disk space before installing packages.
CheckSpace

# Display name, version and size of target packages formatted as a table for upgrade, sync and remove operations.
VerbosePkgLists

# Set the default signature verification level.
SigLevel = Required DatabaseOptional

# Sets the signature verification level for installing packages using the sync "-U" operation on a local file.
# Uses the value from the "SigLevel" options as the default.
LocalFileSigLevel = Optional

# +--------------+
# + Repositories +
# +--------------+
[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

#[multilib]
#Include = /etc/pacman.d/mirrorlist

#[community-testing]
#Include = /etc/pacman.d/mirrorlist

#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist

[bitfroest]
SigLevel = Optional TrustAll
Server = file:///home/arcticicestudio/store/bitfroest
16 changes: 16 additions & 0 deletions snowblocks/pacman/snowblock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[
{
"clean": ["~"]
},
{
"link": {
"~/.makepkg.conf": null,
"~/.pacman.conf": {
"hosts": {
"igloo": "pacman.conf.igloo",
"archbook": "pacman.conf.archbook"
}
}
}
}
]

0 comments on commit fa6909c

Please sign in to comment.