diff options
author | csculley | 2019-09-10 00:45:39 -0400 |
---|---|---|
committer | csculley | 2019-09-10 00:45:39 -0400 |
commit | fea0926025b3a2e204bcf18d6eca2c01399f9f1f (patch) | |
tree | 046e01cbf48a96cee19406260d9835365594f060 | |
parent | c41fa6cc9da467529b5ed3490fc3146756b5de67 (diff) | |
download | aur-fea0926025b3a2e204bcf18d6eca2c01399f9f1f.tar.gz |
Use original clone name
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 5 insertions, 4 deletions
@@ -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 @@ -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' || |