diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-05-29 11:20:45 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-06-05 19:38:55 +0000 |
commit | aecaf7bb5af16cd331e9ce64bb369a409991781e (patch) | |
tree | d5a11fc7af95d1896ef1765659bcf636577bd1cd /community/pacman | |
parent | b407868d1d25da054f0008ff63bf8fa93a665cbd (diff) | |
download | aports-aecaf7bb5af16cd331e9ce64bb369a409991781e.tar.bz2 aports-aecaf7bb5af16cd331e9ce64bb369a409991781e.tar.xz |
community/pacman: move from main
Diffstat (limited to 'community/pacman')
-rw-r--r-- | community/pacman/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/community/pacman/APKBUILD b/community/pacman/APKBUILD new file mode 100644 index 0000000000..4b11f3cd23 --- /dev/null +++ b/community/pacman/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: +# Maintainer: +pkgname=pacman +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="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="https://sources.archlinux.org/other/pacman/pacman-$pkgver.tar.gz" +builddir="$srcdir"/pacman-$pkgver + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --with-scriptlet-shell=/usr/bin/bash + make V=1 +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="b556b6d01d651a675ce1e153ede776e682ca0eb671cd2be00d7b7c602504dd119291f38ef5c318e675b4ce865db7e1c57e0ebc157510f0fc72e656feb8947e54 pacman-5.1.3.tar.gz" |