diff options
author | d1ceward | 2019-01-09 13:15:49 +0100 |
---|---|---|
committer | d1ceward | 2019-01-09 13:15:49 +0100 |
commit | 48541c8db908796cf4231773e91629cbffce8de7 (patch) | |
tree | 86d292953a4a4d7380b09ddfa30fb9768186de67 /PKGBUILD | |
parent | d60b087e45323aeade1f74afcfdadcbec2a0a74f (diff) | |
download | aur-48541c8db908796cf4231773e91629cbffce8de7.tar.gz |
upgpkg: dokku 0.14.0-1
upstream release
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 32 |
1 files changed, 17 insertions, 15 deletions
@@ -1,8 +1,9 @@ # Maintainer: Ayrton Araujo <root@ayr-ton.net> -# Contributor: Fabien LEFEBVRE <contact@d1ceward.com> +# Maintainer: Fabien LEFEBVRE <contact@d1ceward.com> +# Contributor: Morris Jobke <hey AT morrisjobke DOT de> pkgname=dokku -pkgver=0.13.4 +pkgver=0.14.0 pkgrel=1 pkgdesc="Docker powered mini-Heroku in around 100 lines of Bash." arch=(any) @@ -16,40 +17,41 @@ depends=( 'net-tools' 'nginx' 'plugn' + 'procfile-util' 'rsyslog' 'sshcommand' ) source=( - "https://github.com/dokku/dokku/archive/v$pkgver.zip" - "$pkgname.install" + "https://github.com/dokku/dokku/archive/v${pkgver}.zip" + "${pkgname}.install" ) -sha256sums=('80f21b1b0485befc2d6431869e3ac49460d5020c3f9732998cdcdbc13b9f03cf' +sha256sums=('ebcb034eaafdecd4cea5a5a87b81e3e6c4370156c8b9589b2924b2cb51e012da' '65175269313c2afcabec038d3994d940b7e60db91be270da11bfefc3febb9452') -install="$pkgname.install" +install="${pkgname}.install" package() { - cd "$srcdir/$pkgname-$pkgver" + cd "${srcdir}/${pkgname}-${pkgver}" # Install executable - install -Dm755 dokku "$pkgdir/usr/bin/dokku" + install -Dm755 dokku "${pkgdir}/usr/bin/dokku" # Build go plugins make go-build # Move all files in place - mkdir -p "$pkgdir/var/lib/dokku/core-plugins/available" - cp -r plugins/* "$pkgdir/var/lib/dokku/core-plugins/available" - cp common.mk "$pkgdir/var/lib/dokku/core-plugins/common.mk" + mkdir -p "${pkgdir}/var/lib/dokku/core-plugins/available" + cp -r plugins/* "${pkgdir}/var/lib/dokku/core-plugins/available" + cp common.mk "${pkgdir}/var/lib/dokku/core-plugins/common.mk" find plugins/ -mindepth 1 -maxdepth 1 -type d -printf '%f\n' | while read plugin; do # Clean plugins - cd "$pkgdir/var/lib/dokku/core-plugins/available/$plugin" + cd "${pkgdir}/var/lib/dokku/core-plugins/available/${plugin}" if [ -e Makefile ]; then make src-clean ;fi - touch "$pkgdir/var/lib/dokku/core-plugins/available/$plugin/.core" + touch "${pkgdir}/var/lib/dokku/core-plugins/available/${plugin}/.core" done - rm "$pkgdir/var/lib/dokku/core-plugins/common.mk" + rm "${pkgdir}/var/lib/dokku/core-plugins/common.mk" # Version - echo $pkgver > "$pkgdir/var/lib/dokku/VERSION" + echo $pkgver > "${pkgdir}/var/lib/dokku/VERSION" } |