diff options
author | Martin -nexus- Mlynář | 2015-07-25 23:10:09 +0200 |
---|---|---|
committer | Martin -nexus- Mlynář | 2015-07-25 23:10:09 +0200 |
commit | e9fe8e0a29d2721dd039e2ab8329e050e94fbddf (patch) | |
tree | e44f08248f3bc99c59521847d1a2c6be9ac51238 /PKGBUILD | |
parent | 71d4153881ea0520d9e5d52806d6fe69975f35c9 (diff) | |
download | aur-e9fe8e0a29d2721dd039e2ab8329e050e94fbddf.tar.gz |
nginx config, remove install scripts for plugins
install stuff is managed by package manager
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -1,13 +1,14 @@ # Maintainer: Martin Mlynář <nexus+arch@smoula.net> pkgname=dokku pkgver=0.3.21 -pkgrel=1 +pkgrel=3 pkgdesc="Docker powered mini-Heroku in around 100 lines of Bash." arch=(i686 x86_64) url="https://github.com/progrium/dokku" license=(MIT) depends=( 'docker' + 'nginx' ) makedepends=( 'go' @@ -20,12 +21,16 @@ source=( "${pkgname}.install" "pluginhook.go" "sshcommand" + "dokku-redeploy.service" + "nginx-dokku.conf" ) sha256sums=( 'SKIP' - 'd59d82c65583b571b0f9645425a10f7fcb888aedd6aecd0e39d2a3fdb6c1fe8d' + '83cef09105aa419713dd32741810c95f0922d6cd5c97b7b1d36ba349c521b635' 'a8be92d37d9e99e2f5d0b44aed2451dc590daa7e5366b5cb2ba3197fb0ae65b0' '610eb140386de622ea46e6144be9f6f0a130887f94005319a395aed081d95879' + '1d0557dd1f8cb0b0f39ac011c69fc6224e287f34cc7974f3420b608829d36ff1' + 'a5c81c91f3858d2325bd60a1b63efa5b71cc42c98746bcf1dd47668ccb5eeead' ) install=${pkgname}.install @@ -41,6 +46,11 @@ package() { install -Dm755 sshcommand "${pkgdir}"/usr/bin/sshcommand install -Dm755 pluginhook.linux "${pkgdir}"/usr/bin/pluginhook + install -Dm644 dokku-redeploy.service "$pkgdir"/usr/lib/systemd/system/dokku-redeploy.service + install -Dm644 dokku-redeploy.service "$pkgdir"/usr/lib/systemd/system/dokku-redeploy.service + install -Dm644 nginx-dokku.conf "$pkgdir"/etc/nginx/conf.d/dokku.conf + + sed -i 's#\$DOKKU_ROOT#/var/dokku#' "$pkgdir"/etc/nginx/conf.d/dokku.conf cd "$pkgname" PLUGINS_PATH="${pkgdir}/var/lib/dokku/plugins/" @@ -50,6 +60,7 @@ package() { rm -Rf ${PLUGINS_PATH}/$plugin && \ cp -R plugins/$plugin ${PLUGINS_PATH} && \ touch ${PLUGINS_PATH}/$plugin/.core; \ + rm -f ${PLUGINS_PATH}/$plugin/install done } |