pacman: update to 5.0.1 with patch from Arch

This commit is contained in:
Chaoting Liu 2017-05-13 17:19:09 +01:00
parent bc3012ca06
commit 4d01999d02
3 changed files with 30 additions and 9 deletions

View File

@ -1,7 +1,7 @@
pkgname=pacman
pkgver=4.2.1
pkgrel=12
pkgver=5.0.1
pkgrel=1
pkgdesc="A library-based package manager with dependency support"
arch=('x86_64')
url="http://www.archlinux.org/pacman/"
@ -18,12 +18,22 @@ replaces=('pacman-contrib')
backup=(etc/pacman.conf etc/makepkg.conf)
install=pacman.install
options=(!libtool)
source=(https://sources.archlinux.org/other/pacman/$pkgname-$pkgver.tar.gz
source=(https://sources.archlinux.org/other/pacman/$pkgname-$pkgver.tar.gz{,.sig}
pacman-5.0.1-roundup.patch::'https://git.archlinux.org/svntogit/packages.git/plain/trunk/pacman-5.0.1-roundup.patch?h=packages/pacman'
pacman.conf
makepkg.conf)
sha1sums=('61a87226ff3676c0c1e6c8bfadafb6d5750d1e06'
'41f4d1ca64bbeee0ec758c1b99615cb3a1619718'
'bb2fe75a0e94444c5397d616988a35a51e9380a2')
sha1sums=('d0157ab851d570d640e253527b336bcfad6cb13c'
'SKIP'
'34b85e8040ff483f3814c27eb838bc4d898bbfbf'
'735dfdbf78f1249567b3250a2766f55eb6ae9a0c'
'0e61e106d58a332ac7bb0a34885358d37297886e')
validpgpkeys=('6645B0A8C7005E78DB1D7864F99FFE0FEAE999BD') # Allan McRae <allan@archlinux.org>
prepare() {
cd "$pkgname-$pkgver"
# v5.0.1..pacman-5.0.1..c2f97580
patch -p1 -i $srcdir/pacman-5.0.1-roundup.patch
}
build() {
cd "$srcdir"/$pkgname-$pkgver
@ -32,7 +42,7 @@ build() {
--localstatedir=/var --enable-doc \
--with-scriptlet-shell=/usr/bin/bash \
--with-ldconfig=/usr/bin/ldconfig
make
make V=1
make -C contrib
}

View File

@ -73,7 +73,7 @@ BUILDENV=(!distcc color !ccache check !sign)
# These are default values for the options=() settings
#########################################################################
#
# Default: OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !upx !debug)
# Default: OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !optipng !upx !debug)
# A negated option will do the opposite of the comments below.
#
#-- strip: Strip symbols from binaries/libraries
@ -84,6 +84,7 @@ BUILDENV=(!distcc color !ccache check !sign)
#-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
#-- purge: Remove files specified by PURGE_TARGETS
#-- upx: Compress binary executable files using UPX
#-- optipng: Optimize PNG images with optipng
#-- debug: Add debugging flags as specified in DEBUG_* variables
#
OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !upx !debug)

View File

@ -14,7 +14,8 @@
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
#GPGDir = /etc/pacman.d/gnupg/
HoldPkg = pacman glibc pacman-helpme
#HookDir = /etc/pacman.d/hooks/
HoldPkg = pacman glibc
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
@ -37,10 +38,15 @@ CheckSpace
# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
#SigLevel = Required DatabaseOptional
#LocalFileSigLevel = Optional
SigLevel = Never
LocalFileSigLevel = Never
#RemoteFileSigLevel = Required
# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Chakra GNU/Linux
# packagers with `pacman-key --populate chakralinux`.
#
# REPOSITORIES
@ -61,6 +67,10 @@ LocalFileSigLevel = Never
# uncommented to enable the repo.
#
# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.
#[testing]
#Include = /etc/pacman.d/mirrorlist