From a65ddb6057a4c1b490a983894dd56316eecff949 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Mon, 21 Mar 2016 16:49:21 +0100 Subject: [PATCH] community/ruby-puma: link binaries to usr/bin --- community/ruby-puma/APKBUILD | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/community/ruby-puma/APKBUILD b/community/ruby-puma/APKBUILD index 0e9689d2607..60f5d38745f 100644 --- a/community/ruby-puma/APKBUILD +++ b/community/ruby-puma/APKBUILD @@ -3,7 +3,7 @@ pkgname=ruby-puma _gemname=puma pkgver=3.2.0 -pkgrel=0 +pkgrel=1 pkgdesc="Puma is a simple, fast, threaded, and highly concurrent HTTP 1.1 server" url="http://puma.io/" arch="all" @@ -30,6 +30,9 @@ package() { rm -rf "$pkgdir"/$_gemdir/cache \ "$pkgdir"/$_geminstdir/ext \ "$pkgdir"/$_geminstdir/.require_paths + mkdir -p "$pkgdir"/usr/bin + ln -s $_gemdir/bin/puma "$pkgdir"/usr/bin/ || return 1 + ln -s $_gemdir/bin/pumactl "$pkgdir"/usr/bin/ || return 1 } md5sums="e1c66fa8d134bef5cfd680612238d725 puma-3.2.0.gem" sha256sums="eca7283e0558c3c6229b169c181973cfe4568a97955bacdeb2de793962b3ebae puma-3.2.0.gem"