summaryrefslogtreecommitdiffstats
path: root/main/pacman
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <bpiotrowski@alpinelinux.org>2013-06-07 16:59:47 +0200
committerBartłomiej Piotrowski <bpiotrowski@alpinelinux.org>2013-06-07 16:59:47 +0200
commit4f971ec3516504122e3a7c71c36d33fb875c13a1 (patch)
tree2bd437332dd337529f946b956e8515e46d6f3fdc /main/pacman
parent301569cd28d3c4762cbe4e3881a32b6bf75bc3d8 (diff)
downloadaports-4f971ec3516504122e3a7c71c36d33fb875c13a1.tar.bz2
aports-4f971ec3516504122e3a7c71c36d33fb875c13a1.tar.xz
main/pacman: moved from testing
Diffstat (limited to 'main/pacman')
-rw-r--r--main/pacman/APKBUILD48
1 files changed, 48 insertions, 0 deletions
diff --git a/main/pacman/APKBUILD b/main/pacman/APKBUILD
new file mode 100644
index 000000000..37f74a1cd
--- /dev/null
+++ b/main/pacman/APKBUILD
@@ -0,0 +1,48 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=pacman
+pkgver=4.1.1
+pkgrel=0
+pkgdesc="a simple library-based package manager"
+url="http://www.archlinux.org/pacman/"
+arch="all"
+license="GPL"
+depends=""
+depends_dev="libarchive-dev curl-dev openssl-dev gpgme-dev gettext-dev"
+makedepends="$depends_dev m4 coreutils sed autoconf automake libtool"
+install=""
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+source="ftp://ftp.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
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --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
+}
+
+package() {
+ cd "$_builddir"
+ make V=1 -j1 DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="72a1688ff73c1c0b79d8f87b3793d446 pacman-4.1.1.tar.gz"
+sha256sums="2f8008d254655e19f890dba4fa26b27070584b8f0ef25ac476ed0136fbca8a46 pacman-4.1.1.tar.gz"
+sha512sums="1f0e37ea55f3a660ab19bd40fac77667fe2095db38589282370eabeb334a4cbbe604e37639f21ce457f4f9241690160a6cbe5a5dc046188e33d83d24c8acd49f pacman-4.1.1.tar.gz"