Created
October 23, 2012 12:07
-
-
Save alanbriolat/3938414 to your computer and use it in GitHub Desktop.
Better heroku-toolbelt PKGBUILD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: pisuka <tekmon@gmail.com> | |
# Contributor: Alan Briolat <alan.briolat@gmail.com> | |
pkgname=heroku-toolbelt | |
pkgver=2.32.14 | |
pkgrel=2 | |
pkgdesc="Everything you need to get started using Heroku" | |
arch=(any) | |
url="https://toolbelt.heroku.com" | |
license=(GPL) | |
groups=() | |
depends=("ruby>=1.9") | |
makedepends=() | |
provides=() | |
conflicts=(ruby-heroku) | |
replaces=() | |
backup=() | |
options=() | |
install= | |
source=("http://assets.heroku.com.s3.amazonaws.com/heroku-client/heroku-client-${pkgver}.tgz") | |
md5sums=('6a52de404a60c6e398a1cf73207c1e30') | |
package() { | |
cd "${pkgdir}" | |
mkdir -p "opt" "usr/bin" | |
mv "${srcdir}/heroku-client" "opt/${pkgname}" | |
find "opt/${pkgname}/bin" -maxdepth 1 -type f -executable -printf "/opt/${pkgname}/bin/%f\n" | xargs ln -st usr/bin/ | |
} | |
# vim:set ts=2 sw=2 et: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- heroku-toolbelt/PKGBUILD 2012-10-20 13:39:40.000000000 +0100 | |
+++ PKGBUILD 2012-10-23 13:16:36.230594107 +0100 | |
@@ -1,7 +1,8 @@ | |
# Maintainer: pisuka <tekmon@gmail.com> | |
+# Contributor: Alan Briolat <alan.briolat@gmail.com> | |
pkgname=heroku-toolbelt | |
pkgver=2.32.14 | |
-pkgrel=1 | |
+pkgrel=2 | |
pkgdesc="Everything you need to get started using Heroku" | |
arch=(any) | |
url="https://toolbelt.heroku.com" | |
@@ -15,7 +16,7 @@ | |
backup=() | |
options=() | |
install= | |
-source=(http://assets.heroku.com.s3.amazonaws.com/heroku-client/heroku-client.tgz) | |
+source=("http://assets.heroku.com.s3.amazonaws.com/heroku-client/heroku-client-${pkgver}.tgz") | |
md5sums=('6a52de404a60c6e398a1cf73207c1e30') | |
package() { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment