diff options
author | William Pitcock <nenolod@dereferenced.org> | 2013-04-25 15:16:48 -0500 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2013-04-25 15:16:48 -0500 |
commit | 5579ae592da85457729209ca7d2c436f4dfd64d2 (patch) | |
tree | a18285ce1babe3e13f0f2b9d35130d3fd9c5dd0c /testing | |
parent | 221ec6db135e7fbecabb7cb3992de0a0cf195c59 (diff) | |
download | aports-5579ae592da85457729209ca7d2c436f4dfd64d2.tar.bz2 aports-5579ae592da85457729209ca7d2c436f4dfd64d2.tar.xz |
testing/pacman: new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/pacman/APKBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/testing/pacman/APKBUILD b/testing/pacman/APKBUILD new file mode 100644 index 0000000000..1271f88973 --- /dev/null +++ b/testing/pacman/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: William Pitcock <nenolod@dereferenced.org> +pkgname=pacman +pkgver=4.1.0 +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" +makedepends="$depends_dev" +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 \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="a0f2b3148bee4784f21cf373cf59a0bc pacman-4.1.0.tar.gz" +sha256sums="5d04f01afbacb899e135564daea7cffa8e14635dfc938f0bfac3af1723aab9b7 pacman-4.1.0.tar.gz" +sha512sums="9dc02397cb2ec00fa6f01c90a6bf032e882cdbcfc5d2eb9e65866425f638c2212e4c464c589044acf319386fddfa08d5e3bb254bba269f4094f406b406752a9d pacman-4.1.0.tar.gz" |