summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornroi2017-04-08 21:25:56 +0200
committernroi2017-04-08 21:25:56 +0200
commitc6bd268ba3c54e4540fef433744975e5500e3056 (patch)
tree2dae1298b8e4a0633acee8d1ce565f2c9bd95501
parent32ce8c0ceab20386a93fbfe91c9cdbe8aaf49686 (diff)
downloadaur-c6bd268ba3c54e4540fef433744975e5500e3056.tar.gz
Move yaml file to /etc/cpcache
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cad4079cdf5..ac9d1c28de4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = cpcache-git
pkgdesc = central pacman cache
- pkgver = r143.f258649
+ pkgver = r145.d9fd9af
pkgrel = 1
url = https://github.com/nroi/cpcache
install = cpcache.install
diff --git a/PKGBUILD b/PKGBUILD
index 190d60c7f80..94bdc1ef61b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: nroi <nroi@mailbox.org>
pkgname=cpcache-git
-pkgver=r143.f258649
+pkgver=r145.d9fd9af
pkgrel=1
pkgdesc="central pacman cache"
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
@@ -34,11 +34,12 @@ package() {
HOME="$TMP" MIX_ENV=prod /usr/bin/mix release --env=prod
mkdir -p "${pkgdir}/usr/share/${pkgname%-git}"
mkdir -p "${pkgdir}/var/lib/${pkgname%-git}"
+ mkdir -p "${pkgdir}/etc/cpcache"
cd "${pkgdir}/usr/share/${pkgname%-git}"
tar xf "${srcdir}/${pkgname%-git}/_build/prod/rel/${pkgname%-git}/releases/0.1.0/${pkgname%-git}.tar.gz"
ln -s "/var/lib/${pkgname%-git}" var
install -Dm644 "${srcdir}/cpcache.service" "${pkgdir}/usr/lib/systemd/system/cpcache.service"
install -Dm644 "${srcdir}/sysuser.conf" "${pkgdir}/usr/lib/sysusers.d/cpcache.conf"
- install -Dm644 "${srcdir}/cpcache/conf/cpcache.yaml" "${pkgdir}/etc/cpcache.yaml"
+ install -Dm644 "${srcdir}/cpcache/conf/cpcache.yaml" "${pkgdir}/etc/cpcache/cpcache.yaml"
rm -rf "$TMP"
}