diff options
author | DreamingRaven | 2019-06-25 11:27:42 +0100 |
---|---|---|
committer | DreamingRaven | 2019-06-25 11:27:42 +0100 |
commit | f1bf8c733edcdfa74cb4ace78644ffcffc52f445 (patch) | |
tree | aeed8ff379f8492c68de069916961f18f4a82aed | |
parent | 91bc89300e2ba673ba5f7b408982a50da556fca7 (diff) | |
download | aur-f1bf8c733edcdfa74cb4ace78644ffcffc52f445.tar.gz |
Updated PKGBUILD formatting
made the PKGBUILD a little nicer to look at and clearer by moving
associated things into groups together so a reader can see the
associated variables/ values to where they will be used
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -1,20 +1,18 @@ # Maintainer: George Raven <GeorgeRavenCommunity AT pm dot me> pkgname=python-pimoroni-bme680-git _pkgsrcname="bme680-python" +url="https://github.com/pimoroni/${_pkgsrcname}" pkgver=v1.0.5.r14.91434ca - pkgrel=1 pkgdesc="Python library for the BME680 gas, temperature, humidity, and pressure sensor." arch=('any') -# pimoroni bme680 python source code url -url="https://github.com/pimoroni/${_pkgsrcname}" -# set what branch you would like to pull from -_branch="master" + +_branch="master" # sets the branch desired to pull and swap to later on license=('MIT') # MIT is a special case store a copy in /usr/share/pkgname groups=() depends=("python") -makedepends=("git") # 'bzr', 'git', 'mercurial' or 'subversion' +makedepends=("git") optdepends=() provides=() conflicts=() @@ -22,6 +20,7 @@ replaces=() backup=() options=() install= + source=("${_pkgsrcname}::git+${url}#branch=${_branch}") noextract=() md5sums=('SKIP') |