From 0b251e4b5f6d56e5aba84aaf780fbf4e6a289245 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Sat, 4 Dec 2010 23:37:17 +0000
Subject: pacman: change pacman.conf to use /data for the pkgcache

---
 abs/core/pacman/PKGBUILD    | 10 +++++-----
 abs/core/pacman/__changelog |  1 +
 abs/core/pacman/pacman.conf |  2 +-
 3 files changed, 7 insertions(+), 6 deletions(-)
 create mode 100644 abs/core/pacman/__changelog

diff --git a/abs/core/pacman/PKGBUILD b/abs/core/pacman/PKGBUILD
index 1f80018..2d4f776 100644
--- a/abs/core/pacman/PKGBUILD
+++ b/abs/core/pacman/PKGBUILD
@@ -3,7 +3,7 @@
 
 pkgname=pacman
 pkgver=3.4.1
-pkgrel=2
+pkgrel=3
 pkgdesc="A library-based package manager with dependency support"
 arch=('i686' 'x86_64')
 url="http://www.archlinux.org/pacman/"
@@ -19,10 +19,6 @@ source=(ftp://ftp.archlinux.org/other/pacman/$pkgname-$pkgver.tar.gz
         pacman.conf
         pacman.conf.x86_64
         makepkg.conf)
-md5sums=('4e4e8e4f636d9878fbed9cf840f162cf'
-         'eda9cbdb47f85fabda2e7e63801e3e16'
-         '9ba146b4fa7bcb3cc18204b06d1f6157'
-         'aef317285c7d16ac495b0e53deeb948d')
 
 # keep an upgrade path for older installations
 PKGEXT='.pkg.tar.gz'
@@ -74,3 +70,7 @@ package() {
 }
 
 # vim: set ts=2 sw=2 et:
+md5sums=('4e4e8e4f636d9878fbed9cf840f162cf'
+         '4792e61cd1b902d20046e19f97ae758d'
+         '9ba146b4fa7bcb3cc18204b06d1f6157'
+         'aef317285c7d16ac495b0e53deeb948d')
diff --git a/abs/core/pacman/__changelog b/abs/core/pacman/__changelog
new file mode 100644
index 0000000..4d2a9e3
--- /dev/null
+++ b/abs/core/pacman/__changelog
@@ -0,0 +1 @@
+make cache dir /data/var/cache/pacman/pkg
diff --git a/abs/core/pacman/pacman.conf b/abs/core/pacman/pacman.conf
index 3a5d875..c44d2e6 100644
--- a/abs/core/pacman/pacman.conf
+++ b/abs/core/pacman/pacman.conf
@@ -11,7 +11,7 @@
 # If you wish to use different paths, uncomment and update the paths.
 #RootDir     = /
 #DBPath      = /var/lib/pacman/
-#CacheDir    = /var/cache/pacman/pkg/
+CacheDir    = /data/var/cache/pacman/pkg/
 #LogFile     = /var/log/pacman.log
 HoldPkg     = pacman glibc
 # If upgrades are available for these packages they will be asked for first
-- 
cgit v0.12

