summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDreamingRaven2019-06-25 11:27:42 +0100
committerDreamingRaven2019-06-25 11:27:42 +0100
commitf1bf8c733edcdfa74cb4ace78644ffcffc52f445 (patch)
treeaeed8ff379f8492c68de069916961f18f4a82aed
parent91bc89300e2ba673ba5f7b408982a50da556fca7 (diff)
downloadaur-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--PKGBUILD11
1 files changed, 5 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8c2aff54368c..0a4e26326d1d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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')