summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornroi2016-12-27 23:29:45 +0100
committernroi2016-12-27 23:29:45 +0100
commitf84084ac6023e1689621f97018bea116c3c25e15 (patch)
treeb6ada716c5efcd80d6c49cf1983ccbffcd1e6532
parentde44ef6b2e94a248d32d458bed1de592a71dc954 (diff)
downloadaur-f84084ac6023e1689621f97018bea116c3c25e15.tar.gz
Adapt to upstream changes
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7645884ebdf..15e9b26d9cf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = cpcache-git
pkgdesc = central pacman cache
- pkgver = r87.874cf45
+ pkgver = r88.6e0a8cc
pkgrel = 1
url = https://github.com/nroi/cpcache
install = cpcache.install
diff --git a/PKGBUILD b/PKGBUILD
index cd2049ca52b..65b92fe33fc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: nroi <nroi@mailbox.org>
pkgname=cpcache-git
-pkgver=r87.874cf45
+pkgver=r88.6e0a8cc
pkgrel=1
pkgdesc="central pacman cache"
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
@@ -28,13 +28,15 @@ pkgver() {
package() {
cd "${srcdir}/${pkgname%-git}"
+ /usr/bin/mix local.hex --force
+ /usr/bin/mix local.rebar --force
/usr/bin/mix deps.get
/usr/bin/mix release.init
MIX_ENV=prod /usr/bin/mix release --env=prod
mkdir -p "${pkgdir}/usr/share/${pkgname%-git}"
mkdir -p "${pkgdir}/var/lib/${pkgname%-git}"
cd "${pkgdir}/usr/share/${pkgname%-git}"
- tar xf "${srcdir}/${pkgname%-git}/rel/${pkgname%-git}/releases/0.1.0/${pkgname%-git}.tar.gz"
+ 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"