summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSefa Eyeoglu2019-06-10 13:26:05 +0200
committerSefa Eyeoglu2019-06-10 13:26:05 +0200
commit434fb583431005c6b994bdef165ebcdcb581a4aa (patch)
tree1157fed7b514ba171b3a2e5bb3f33167b09541e0
parent8df41fd623bf2e4183ea0dd171be01566ca97cc9 (diff)
downloadaur-434fb583431005c6b994bdef165ebcdcb581a4aa.tar.gz
upgpkg: nfancurve-git v016.r12.gea6fcf8-2
Reformat PKGBUILD
-rw-r--r--PKGBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5b4737f3a213..370ee9222c12 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,6 @@ pkgver=v016.r12.gea6fcf8
pkgrel=2
pkgdesc="A small and lightweight Bash script for using a custom fan curve in Linux for NVIDIA GPUs"
arch=("any")
-
url="https://github.com/nan0s7/nfancurve"
license=("GPL3")
@@ -15,15 +14,13 @@ makedepends=("git")
conflicts=("${_pkgname}")
install=${_pkgname}.install
+source=("${_pkgname}::git+https://github.com/nan0s7/${_pkgname}.git")
+sha512sums=('SKIP')
+
-source=(
- "${_pkgname}::git+https://github.com/nan0s7/${_pkgname}.git"
-)
-sha512sums=(
- "SKIP"
-)
pkgver() {
cd "${_pkgname}"
+
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}