aboutsummaryrefslogtreecommitdiffstats
path: root/main/pacman/APKBUILD
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.eu>2019-04-15 02:57:33 +0200
committerLeonardo Arena <rnalrd@alpinelinux.org>2019-04-15 10:22:34 +0000
commit650f996f27efff4e180eb6393a2542664c5b4844 (patch)
treee24b7fea7a49e962d1ed36f1e892df700daebdc3 /main/pacman/APKBUILD
parent6a106bb409bb3fb735e5927e6bf3dadd76703e77 (diff)
downloadaports-650f996f27efff4e180eb6393a2542664c5b4844.tar.bz2
aports-650f996f27efff4e180eb6393a2542664c5b4844.tar.xz
main/pacman: upgrade to 5.1.3
Modernize APKBUILD Signed-off-by: Leonardo Arena <rnalrd@alpinelinux.org>
Diffstat (limited to 'main/pacman/APKBUILD')
-rw-r--r--main/pacman/APKBUILD39
1 files changed, 14 insertions, 25 deletions
diff --git a/main/pacman/APKBUILD b/main/pacman/APKBUILD
index 657785fd25..4b11f3cd23 100644
--- a/main/pacman/APKBUILD
+++ b/main/pacman/APKBUILD
@@ -1,32 +1,23 @@
# Contributor:
# Maintainer:
pkgname=pacman
-pkgver=5.0.2
-pkgrel=4
-pkgdesc="a simple library-based package manager"
+pkgver=5.1.3
+pkgrel=0
+pkgdesc="A simple library-based package manager"
url="https://www.archlinux.org/pacman/"
arch="all"
license="GPL-2.0-or-later"
+options="!check" # Depends on not packaged fakechroot
depends="libarchive-tools"
-depends_dev="libarchive-dev curl-dev openssl-dev gpgme-dev gettext-dev"
-makedepends="$depends_dev m4 coreutils sed autoconf automake libtool"
-install=""
+depends_dev="gettext-dev gpgme-dev"
+makedepends="$depends_dev autoconf automake coreutils curl-dev libtool
+ libarchive-dev m4 openssl-dev sed"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
-source="http://sources.archlinux.org/other/pacman/pacman-$pkgver.tar.gz"
-
-_builddir="$srcdir"/pacman-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+source="https://sources.archlinux.org/other/pacman/pacman-$pkgver.tar.gz"
+builddir="$srcdir"/pacman-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -35,14 +26,12 @@ build() {
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
- --with-scriptlet-shell=/usr/bin/bash \
- || return 1
- make V=1 || return 1
+ --with-scriptlet-shell=/usr/bin/bash
+ make V=1
}
package() {
- cd "$_builddir"
- make V=1 -j1 DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
-sha512sums="94a8cce1a52d2365a993c72f16537f4dbea6100feb8f22e8782cc7d2c1ef8a525a63f3c40bb183294c0faedcc743e3d806d2fc3c50a21ab9b03df2910039d628 pacman-5.0.2.tar.gz"
+sha512sums="b556b6d01d651a675ce1e153ede776e682ca0eb671cd2be00d7b7c602504dd119291f38ef5c318e675b4ce865db7e1c57e0ebc157510f0fc72e656feb8947e54 pacman-5.1.3.tar.gz"