aboutsummaryrefslogtreecommitdiffstats
path: root/community/pacman/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/pacman/APKBUILD')
-rw-r--r--community/pacman/APKBUILD37
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"