summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornroi2016-12-19 22:35:19 +0100
committernroi2016-12-19 22:35:19 +0100
commite2a338bb5af4690fb88b16128a5f653402fe1543 (patch)
treec5ae5a96f44287656d43c7afa9bd7f52e963f5c6
parent8217b98dfa8c75e74db6a2deb5d896fcc53b32da (diff)
downloadaur-e2a338bb5af4690fb88b16128a5f653402fe1543.tar.gz
Minor fix
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD6
-rw-r--r--cpcache.install3
3 files changed, 9 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..aa63b6449ac
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/cpcache-git*xz
+/cpcache/
+/pkg/
+/src/
diff --git a/PKGBUILD b/PKGBUILD
index 9d3dfb1f597..3e54909e324 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: nroi <nroi@mailbox.org>
pkgname=cpcache-git
-pkgver=r61.4a3239c
+pkgver=r66.80cd2f4
pkgrel=1
pkgdesc="central pacman cache"
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
@@ -17,7 +17,7 @@ source=('git+https://github.com/nroi/cpcache.git'
)
sha256sums=('SKIP'
'0098e749b19617c0f7d619d47a3bc3015bab62e9ad0916087502daff672fb309'
- '159eb7ffd4fc7b44aa15c122aeddf8d433297352def6f0bbfc6a15df25fd8dcb'
+ 'e326c1097269a47a35fe327d839a566d90888339f7cc00b2207e0accf441e6cd'
'4dbfd2b7934438fdde9b182b5e455f04176865063c8943be06bdfdf82ce38529'
)
@@ -30,7 +30,7 @@ package() {
cd "${srcdir}/${pkgname%-git}"
/usr/bin/mix deps.get
/usr/bin/mix release.init
- MIX_ENV=prod mix release --env=prod
+ MIX_ENV=prod /usr/bin/mix release --env=prod
mkdir -p "${pkgdir}/usr/share/"
mkdir -p "${pkgdir}/var/lib/${pkgname%-git}"
ln -s "/var/lib/${pkgname%-git}" "${srcdir}/${pkgname%-git}/rel/${pkgname%-git}/var"
diff --git a/cpcache.install b/cpcache.install
index 7d2d64654a0..b908f03abf9 100644
--- a/cpcache.install
+++ b/cpcache.install
@@ -1,7 +1,8 @@
post_install() {
systemd-sysusers cpcache.conf
chown cpcache:cpcache "/var/lib/cpcache"
- mkdir -p /var/cache/cpcache/{x86,arm}/{core,extra,multilib,testing,community}/os/{i686,x86_64}/downloads
+ mkdir -p /var/cache/cpcache/x86/{core,extra,multilib,testing,community}/os/{i686,x86_64}/downloads
+ mkdir -p /var/cache/cpcache/arm/{aarch64,arm,armv6h,armv7h}/{alarm,aur,community,extra,core}/downloads
chown -R cpcache:cpcache "/var/cache/cpcache"
}