diff options
author | csculley | 2019-09-10 01:22:17 -0400 |
---|---|---|
committer | csculley | 2019-09-10 01:22:56 -0400 |
commit | 79aaad808bc8219698c0c92477699211345359d4 (patch) | |
tree | f327b8385d2c3c2e9dbc1a4a89ce33fb681cc44a | |
parent | 32ee71466ce6f654296f9d019797bccb6bab700f (diff) | |
download | aur-79aaad808bc8219698c0c92477699211345359d4.tar.gz |
Use old build script
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 11 insertions, 11 deletions
@@ -1,16 +1,15 @@ pkgbase = sleepplan-git pkgdesc = Calculate times to wake up based on bedtimes, and vice versa. - pkgver = r19.0389933 - pkgrel = 3 + pkgver = r20.17f01c6 + pkgrel = 2 url = https://gitlab.com/csculley/sleepplan arch = any license = GPL3 makedepends = git - makedepends = python-setuptools depends = python3 provides = sleepplan conflicts = sleepplan - source = sleepplan-git-r19.0389933::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,20 +1,21 @@ # Maintainer: Christopher Sculley <cs.sculley at gmail dot com> pkgname=sleepplan-git -pkgver=r19.0389933 -pkgrel=3 +pkgver=r20.17f01c6 +pkgrel=2 pkgdesc="Calculate times to wake up based on bedtimes, and vice versa." arch=('any') license=('GPL3') url="https://gitlab.com/csculley/sleepplan" depends=('python3') -makedepends=('git' 'python-setuptools') +makedepends=('git') provides=('sleepplan') conflicts=('sleepplan') -source=("$pkgname-$pkgver::git+https://gitlab.com/csculley/sleepplan.git#branch=master") +source=("sleepplan::git+https://gitlab.com/csculley/sleepplan.git#branch=master") md5sums=('SKIP') pkgver() { - cd "$pkgname-$pkgver" + mv sleepplan "$pkgname" + cd "$pkgname" ( set -o pipefail git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" @@ -22,10 +23,10 @@ pkgver() { } package() { - cd "$pkgname-$pkgver" + cd "$pkgname" mkdir -p "$pkgdir"/usr/bin mv sleepplan.py sleepplan chmod +x sleepplan - cp sleepplan "$pkgdir"/usr/bin + mv sleepplan "$pkgdir"/usr/bin install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md" } |