Date: Monday, June 2, 2014 @ 12:46:02 Author: spupykin Revision: 112460
upgpkg: rebar 1:2.3.1-1 upd Modified: rebar/trunk/PKGBUILD ----------+ PKGBUILD | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-06-02 10:45:56 UTC (rev 112459) +++ PKGBUILD 2014-06-02 10:46:02 UTC (rev 112460) @@ -4,7 +4,8 @@ # Contributor: AeroNotix <[email protected]> pkgname=rebar -pkgver=20131114 +epoch=1 +pkgver=2.3.1 pkgrel=1 pkgdesc="A sophisticated build-tool for Erlang projects that follows OTP principles." arch=('any') @@ -12,16 +13,16 @@ license=('APACHE') depends=('erlang-nox') makedepends=('git') -source=("git://github.com/rebar/rebar.git") -md5sums=('SKIP') +source=("$pkgname-$pkgver.tar.gz::https://github.com/rebar/rebar/archive/$pkgver.tar.gz") +md5sums=('15e3f4f153cd21522ed6e1b059fab4e7') build() { - cd "$srcdir/rebar" + cd "$srcdir/rebar-$pkgver" make } package() { - cd "$srcdir/rebar" + cd "$srcdir/rebar-$pkgver" install -Dm0755 "rebar" "$pkgdir/usr/bin/rebar" install -Dm0644 "priv/shell-completion/bash/rebar" "$pkgdir/usr/share/bash-completion/completions/rebar" }
