pacman: update
This commit is contained in:
parent
102a0846ff
commit
9594b826c9
3 changed files with 31 additions and 27 deletions
|
@ -1,10 +1,8 @@
|
||||||
|
|
||||||
# vim: set ts=2 sw=2 et:
|
# vim: set ts=2 sw=2 et:
|
||||||
# Maintainer: Dan McGee <dan@archlinux.org>
|
# Maintainer:
|
||||||
# Maintainer: Dave Reisner <dreisner@archlinux.org>
|
|
||||||
|
|
||||||
pkgname=pacman
|
pkgname=pacman
|
||||||
pkgver=6.0.0alpha1.r118.ge176b8ec
|
pkgver=6.0.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A library-based package manager with dependency support"
|
pkgdesc="A library-based package manager with dependency support"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
@ -13,7 +11,7 @@ license=('GPL')
|
||||||
groups=('base-devel')
|
groups=('base-devel')
|
||||||
depends=('bash' 'glibc' 'libarchive' 'curl'
|
depends=('bash' 'glibc' 'libarchive' 'curl'
|
||||||
'gpgme' 'pacman-mirrorlist' 'archlinux-keyring')
|
'gpgme' 'pacman-mirrorlist' 'archlinux-keyring')
|
||||||
makedepends=('asciidoc' 'meson')
|
makedepends=('meson' 'asciidoc' 'doxygen')
|
||||||
checkdepends=('python' 'fakechroot')
|
checkdepends=('python' 'fakechroot')
|
||||||
optdepends=('perl-locale-gettext: translation support in makepkg-template')
|
optdepends=('perl-locale-gettext: translation support in makepkg-template')
|
||||||
provides=('libalpm.so')
|
provides=('libalpm.so')
|
||||||
|
@ -26,14 +24,10 @@ source=(git+https://git.archlinux.org/pacman.git
|
||||||
pacman.conf
|
pacman.conf
|
||||||
makepkg.conf)
|
makepkg.conf)
|
||||||
sha256sums=('SKIP'
|
sha256sums=('SKIP'
|
||||||
'6740bd04402ff6aa833883f315b21ddbe882c5a2c7b3050cbc6a71dc367b9752'
|
'4aea8b8dc81188e9f195d0ac887e3a7c85d1be6545fd675f6c160623023d85b5'
|
||||||
'81ee3d013c94ec4b6575d512df427d5029d487bfb73224bccd29be1054bf5aae')
|
'0bb12dca951de441259941be02051912b4adef81c2aa96ad8f2a4bfd7e5a0a8a')
|
||||||
|
|
||||||
|
|
||||||
prepare() {
|
|
||||||
cd pacman
|
|
||||||
}
|
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd pacman
|
cd pacman
|
||||||
|
|
||||||
|
@ -41,30 +35,30 @@ pkgver() {
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
cd pacman
|
||||||
mkdir -p pacman/build
|
|
||||||
cd pacman/build
|
|
||||||
|
|
||||||
meson --prefix=/usr \
|
meson --prefix=/usr \
|
||||||
--buildtype=plain \
|
--buildtype=plain \
|
||||||
-Ddoc=enabled \
|
-Ddoc=enabled \
|
||||||
|
-Ddoxygen=enabled \
|
||||||
-Duse-git-version=true \
|
-Duse-git-version=true \
|
||||||
-Dscriptlet-shell=/usr/bin/bash \
|
-Dscriptlet-shell=/usr/bin/bash \
|
||||||
-Dldconfig=/usr/bin/ldconfig \
|
-Dldconfig=/usr/bin/ldconfig \
|
||||||
..
|
build
|
||||||
ninja
|
|
||||||
|
meson compile -C build
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
cd pacman/build
|
cd pacman
|
||||||
|
|
||||||
ninja test
|
meson test -C build
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
cd pacman
|
||||||
|
|
||||||
cd pacman/build
|
DESTDIR="$pkgdir" meson install -C build
|
||||||
DESTDIR="$pkgdir" ninja install
|
|
||||||
|
|
||||||
# install Arch specific stuff
|
# install Arch specific stuff
|
||||||
install -dm755 "$pkgdir/etc"
|
install -dm755 "$pkgdir/etc"
|
||||||
|
|
|
@ -24,6 +24,7 @@ DLAGENTS=('file::/usr/bin/curl -gqC - -o %o %u'
|
||||||
#-- The package required by makepkg to download VCS sources
|
#-- The package required by makepkg to download VCS sources
|
||||||
# Format: 'protocol::package'
|
# Format: 'protocol::package'
|
||||||
VCSCLIENTS=('bzr::bzr'
|
VCSCLIENTS=('bzr::bzr'
|
||||||
|
'fossil::fossil'
|
||||||
'git::git'
|
'git::git'
|
||||||
'hg::mercurial'
|
'hg::mercurial'
|
||||||
'svn::subversion')
|
'svn::subversion')
|
||||||
|
@ -36,11 +37,11 @@ CARCH="x86_64"
|
||||||
CHOST="x86_64-pc-linux-gnu"
|
CHOST="x86_64-pc-linux-gnu"
|
||||||
|
|
||||||
#-- Compiler and Linker Flags
|
#-- Compiler and Linker Flags
|
||||||
|
#CPPFLAGS=""
|
||||||
CFLAGS="-march=x86-64-v2 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
|
CFLAGS="-march=x86-64-v2 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
|
||||||
-Wp,-D_FORTIFY_SOURCE=2,-D_GLIBCXX_ASSERTIONS \
|
-Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
|
||||||
-Wformat -Werror=format-security \
|
|
||||||
-fstack-clash-protection -fcf-protection"
|
-fstack-clash-protection -fcf-protection"
|
||||||
CXXFLAGS="$CFLAGS"
|
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
|
||||||
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
|
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
|
||||||
#RUSTFLAGS="-C opt-level=2"
|
#RUSTFLAGS="-C opt-level=2"
|
||||||
#-- Make Flags: change this for DistCC/SMP systems
|
#-- Make Flags: change this for DistCC/SMP systems
|
||||||
|
@ -54,7 +55,7 @@ DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"
|
||||||
# BUILD ENVIRONMENT
|
# BUILD ENVIRONMENT
|
||||||
#########################################################################
|
#########################################################################
|
||||||
#
|
#
|
||||||
# Defaults: BUILDENV=(!distcc !color !ccache check !sign)
|
# Makepkg defaults: BUILDENV=(!distcc !color !ccache check !sign)
|
||||||
# A negated environment option will do the opposite of the comments below.
|
# A negated environment option will do the opposite of the comments below.
|
||||||
#
|
#
|
||||||
#-- distcc: Use the Distributed C/C++/ObjC compiler
|
#-- distcc: Use the Distributed C/C++/ObjC compiler
|
||||||
|
@ -77,7 +78,7 @@ BUILDENV=(!distcc color !ccache check !sign)
|
||||||
# These are default values for the options=() settings
|
# These are default values for the options=() settings
|
||||||
#########################################################################
|
#########################################################################
|
||||||
#
|
#
|
||||||
# Default: OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug)
|
# Makepkg defaults: OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug !lto)
|
||||||
# A negated option will do the opposite of the comments below.
|
# A negated option will do the opposite of the comments below.
|
||||||
#
|
#
|
||||||
#-- strip: Strip symbols from binaries/libraries
|
#-- strip: Strip symbols from binaries/libraries
|
||||||
|
@ -88,11 +89,12 @@ BUILDENV=(!distcc color !ccache check !sign)
|
||||||
#-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
|
#-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
|
||||||
#-- purge: Remove files specified by PURGE_TARGETS
|
#-- purge: Remove files specified by PURGE_TARGETS
|
||||||
#-- debug: Add debugging flags as specified in DEBUG_* variables
|
#-- debug: Add debugging flags as specified in DEBUG_* variables
|
||||||
|
#-- lto: Add compile flags for building with link time optimization
|
||||||
#
|
#
|
||||||
OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug)
|
OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug !lto)
|
||||||
|
|
||||||
#-- File integrity checks to use. Valid: md5, sha1, sha224, sha256, sha384, sha512, b2
|
#-- File integrity checks to use. Valid: md5, sha1, sha224, sha256, sha384, sha512, b2
|
||||||
INTEGRITY_CHECK=(md5)
|
INTEGRITY_CHECK=(ck)
|
||||||
#-- Options to be used when stripping binaries. See `man strip' for details.
|
#-- Options to be used when stripping binaries. See `man strip' for details.
|
||||||
STRIP_BINARIES="--strip-all"
|
STRIP_BINARIES="--strip-all"
|
||||||
#-- Options to be used when stripping shared libraries. See `man strip' for details.
|
#-- Options to be used when stripping shared libraries. See `man strip' for details.
|
||||||
|
@ -147,3 +149,10 @@ COMPRESSLZ=(lzip -c -f)
|
||||||
#
|
#
|
||||||
PKGEXT='.pkg.tar.zst'
|
PKGEXT='.pkg.tar.zst'
|
||||||
SRCEXT='.src.tar.gz'
|
SRCEXT='.src.tar.gz'
|
||||||
|
|
||||||
|
#########################################################################
|
||||||
|
# OTHER
|
||||||
|
#########################################################################
|
||||||
|
#
|
||||||
|
#-- Command used to run pacman as root, instead of trying sudo and su
|
||||||
|
#PACMAN_AUTH=()
|
||||||
|
|
|
@ -31,6 +31,7 @@ Architecture = auto
|
||||||
# Misc options
|
# Misc options
|
||||||
#UseSyslog
|
#UseSyslog
|
||||||
Color
|
Color
|
||||||
|
#NoProgressBar
|
||||||
CheckSpace
|
CheckSpace
|
||||||
VerbosePkgLists
|
VerbosePkgLists
|
||||||
ParallelDownloads = 5
|
ParallelDownloads = 5
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue