diff options
author | Evan Purkhiser | 2015-06-21 03:55:40 -0700 |
---|---|---|
committer | Evan Purkhiser | 2015-06-21 03:55:40 -0700 |
commit | dcca407c8021a8b732c501e199b2e01f30b2d960 (patch) | |
tree | 9009fd63786a97e61de720fa911f2e41c7906d0e | |
parent | 84fd365e20f6371a84a25f0c5273208a2224018a (diff) | |
download | aur-dcca407c8021a8b732c501e199b2e01f30b2d960.tar.gz |
Normalize PKGBUILD formats
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 15 insertions, 15 deletions
@@ -1,7 +1,7 @@ pkgbase = python-httpie-oauth pkgdesc = OAuth plugin for httpie pkgver = 5.6cf6ed4 - pkgrel = 2 + pkgrel = 1 url = https://github.com/jakubroztocil/httpie-oauth arch = any license = BSD @@ -9,7 +9,7 @@ pkgbase = python-httpie-oauth makedepends = git depends = python-oauthlib depends = python-requests-oauthlib - source = git://github.com/jakubroztocil/httpie-oauth.git + source = python-httpie-oauth::git://github.com/jakubroztocil/httpie-oauth.git md5sums = SKIP pkgname = python-httpie-oauth @@ -1,30 +1,30 @@ # Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> # Contributor: Thomas Weißschuh <thomas_weissschuh lavabit com> -_gitname=httpie-oauth pkgname=python-httpie-oauth -pkgver=5.6cf6ed4 -pkgrel=2 pkgdesc="OAuth plugin for httpie" +license=('BSD') url="https://github.com/jakubroztocil/httpie-oauth" -source=(git://github.com/jakubroztocil/httpie-oauth.git) -depends=(python-oauthlib python-requests-oauthlib) -makedepends=(python-distribute git) +pkgver=5.6cf6ed4 +pkgrel=1 + +source=("$pkgname::git://github.com/jakubroztocil/httpie-oauth.git") md5sums=('SKIP') -license=('BSD') +depends=('python-oauthlib' 'python-requests-oauthlib') +makedepends=('python-distribute' 'git') arch=('any') pkgver() { - cd "${srcdir}/${_gitname}" - echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) + cd "$srcdir/$pkgname" + echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) } build() { - cd "${srcdir}/${_gitname}" - python3 setup.py build + cd "$srcdir/$pkgname" + python3 setup.py build } package() { - cd "${srcdir}/${_gitname}" - python3 setup.py install --root="$pkgdir" --optimize=1 + cd "$srcdir/$pkgname" + python3 setup.py install --root="$pkgdir" --optimize=1 } |