aboutsummaryrefslogtreecommitdiffstats
path: root/community/pacman/APKBUILD
blob: 4b11f3cd230ad227026689067dbb70049ba509b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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"