# Contributor: William Pitcock <nenolod@dereferenced.org> # Maintainer: William Pitcock <nenolod@dereferenced.org> setvar pkgname = 'pacman' setvar pkgver = '5.0.2' setvar pkgrel = '0' setvar pkgdesc = ""a simple library-based package manager"" setvar url = ""http://www.archlinux.org/pacman/"" setvar arch = ""all"" setvar license = ""GPL"" setvar depends = """" setvar depends_dev = ""libarchive-dev curl-dev libressl-dev gpgme-dev gettext-dev"" setvar makedepends = ""$depends_dev m4 coreutils sed autoconf automake libtool"" setvar install = """" setvar subpackages = ""$pkgname-dev $pkgname-doc $pkgname-lang"" setvar source = ""http://sources.archlinux.org/other/pacman/pacman-$pkgver.tar.gz"" setvar _builddir = ""$srcdir"/pacman-$pkgver" proc prepare { local i cd $_builddir for i in $source { case (i) { *.patch { msg $i; patch -p1 -i "$srcdir"/$i || return 1} } } } proc 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 \ || return 1 make V=1 || return 1 } proc package { cd $_builddir make V=1 -j1 DESTDIR="$pkgdir" install || return 1 } setvar sha512sums = ""94a8cce1a52d2365a993c72f16537f4dbea6100feb8f22e8782cc7d2c1ef8a525a63f3c40bb183294c0faedcc743e3d806d2fc3c50a21ab9b03df2910039d628 pacman-5.0.2.tar.gz""