summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcsculley2019-09-10 00:45:39 -0400
committercsculley2019-09-10 00:45:39 -0400
commitfea0926025b3a2e204bcf18d6eca2c01399f9f1f (patch)
tree046e01cbf48a96cee19406260d9835365594f060
parentc41fa6cc9da467529b5ed3490fc3146756b5de67 (diff)
downloadaur-fea0926025b3a2e204bcf18d6eca2c01399f9f1f.tar.gz
Use original clone name
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b7501bfeb146..9c9d06235ead 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = sleepplan-git
pkgdesc = Calculate times to wake up based on bedtimes, and vice versa.
pkgver = r18.1af9c51
- pkgrel = 3
+ pkgrel = 4
url = https://gitlab.com/csculley/sleepplan
arch = any
license = GPL3
@@ -10,7 +10,7 @@ pkgbase = sleepplan-git
depends = python3
provides = sleepplan
conflicts = sleepplan
- source = sleepplan-git::git+https://gitlab.com/csculley/sleepplan.git#branch=master
+ source = sleepplan::git+https://gitlab.com/csculley/sleepplan.git#branch=master
md5sums = SKIP
pkgname = sleepplan-git
diff --git a/PKGBUILD b/PKGBUILD
index 67716fec1198..8e9c6429d2ae 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Christopher Sculley <cs.sculley at gmail dot com>
pkgname=sleepplan-git
pkgver=r18.1af9c51
-pkgrel=3
+pkgrel=4
pkgdesc="Calculate times to wake up based on bedtimes, and vice versa."
arch=('any')
license=('GPL3')
@@ -10,10 +10,11 @@ depends=('python3')
makedepends=('git' 'python-setuptools')
provides=('sleepplan')
conflicts=('sleepplan')
-source=("sleepplan-git::git+https://gitlab.com/csculley/sleepplan.git#branch=master")
+source=("sleepplan::git+https://gitlab.com/csculley/sleepplan.git#branch=master")
md5sums=('SKIP')
pkgver() {
+ mv sleepplan "$pkgname"
cd "$pkgname"
( set -o pipefail
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||