diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | .gitignore | 8 | ||||
-rw-r--r-- | PKGBUILD | 13 |
3 files changed, 13 insertions, 10 deletions
@@ -1,7 +1,7 @@ pkgbase = herokuish pkgdesc = Utility for emulating Heroku build and runtime tasks in containers pkgver = 0.5.31 - pkgrel = 1 + pkgrel = 2 url = https://github.com/gliderlabs/herokuish arch = x86_64 license = MIT diff --git a/.gitignore b/.gitignore index 8a68aa486212..f9ecc0a87e76 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -src/ -pkg/ -*.tgz -*.tar +/src/ +/pkg/ +/*.tgz +/*.pkg.tar.zst @@ -2,18 +2,21 @@ pkgname=herokuish pkgver=0.5.31 -pkgrel=1 +pkgrel=2 pkgdesc='Utility for emulating Heroku build and runtime tasks in containers' arch=('x86_64') url='https://github.com/gliderlabs/herokuish' license=('MIT') - -source=("https://github.com/gliderlabs/herokuish/releases/download/v${pkgver}/herokuish_${pkgver}_linux_x86_64.tgz" +source=("${url}/releases/download/v${pkgver}/${pkgname}_${pkgver}_linux_x86_64.tgz" 'LICENSE') sha256sums=('db6e341e885dd437500cc701a7a9342c9474fbc6d95819be991fdf9127faaf1e' '10265a1dd53faef4513b728a16b1eff3e5d5fc0bacc79e692ede34529bb8d1d1') package() { - install -Dm 755 herokuish "${pkgdir}/usr/bin/herokuish" - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/herokuish/LICENSE" + cd "${srcdir}" + + install -Dm755 herokuish "${pkgdir}/usr/bin/${pkgname}" + + mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |