diff options
author | nroi | 2019-04-23 22:31:57 +0200 |
---|---|---|
committer | nroi | 2019-04-23 22:33:25 +0200 |
commit | 2b4378ea1b7458ffa9abfccd18939484c3824d3d (patch) | |
tree | 23a3cabe9f5a332e2bd7629d21288c78993c0ca4 | |
parent | 5f7cadd488d0fe04c0a6265d87d18ebdf7f8b553 (diff) | |
download | aur-2b4378ea1b7458ffa9abfccd18939484c3824d3d.tar.gz |
Use tagged releases, starting with 0.1.0
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 7 insertions, 7 deletions
@@ -1,6 +1,6 @@ pkgbase = cpcache-git pkgdesc = central pacman cache - pkgver = r340.546868c + pkgver = 0.1.0.r0.g9249d15 pkgrel = 1 url = https://github.com/nroi/cpcache install = cpcache.install @@ -9,14 +9,14 @@ pkgbase = cpcache-git makedepends = erlang-nox makedepends = elixir backup = etc/cpcache/cpcache.toml - source = git+https://github.com/nroi/cpcache.git + source = git+https://github.com/nroi/cpcache.git#tag=0.1.0 source = sysuser.conf source = cpcache.install source = cpcache.service sha256sums = SKIP sha256sums = 0098e749b19617c0f7d619d47a3bc3015bab62e9ad0916087502daff672fb309 sha256sums = 3a2c1155a6fc50be959be17f9c2339455c30bb85939263b29bb2ae5792d69037 - sha256sums = c4007bd6dd055e5edf09d54a840c957b7e5dab45ae85be4b26b41e34e9f63f19 + sha256sums = a5d891b7d5cd282a3e7db445d8bbe14b230af7cb1a1e9536130e2f0e514d69bd pkgname = cpcache-git @@ -1,6 +1,6 @@ # Maintainer: nroi <nroi@mailbox.org> pkgname=cpcache-git -pkgver=r340.546868c +pkgver=0.1.0.r0.g9249d15 pkgrel=1 pkgdesc="central pacman cache" arch=('x86_64') @@ -9,7 +9,7 @@ license=('MIT') makedepends=('erlang-nox' 'elixir') install="${pkgname%-git}.install" backup=('etc/cpcache/cpcache.toml') -source=('git+https://github.com/nroi/cpcache.git' +source=('git+https://github.com/nroi/cpcache.git#tag=0.1.0' 'sysuser.conf' 'cpcache.install' 'cpcache.service' @@ -17,12 +17,12 @@ source=('git+https://github.com/nroi/cpcache.git' sha256sums=('SKIP' '0098e749b19617c0f7d619d47a3bc3015bab62e9ad0916087502daff672fb309' '3a2c1155a6fc50be959be17f9c2339455c30bb85939263b29bb2ae5792d69037' - 'c4007bd6dd055e5edf09d54a840c957b7e5dab45ae85be4b26b41e34e9f63f19' + 'a5d891b7d5cd282a3e7db445d8bbe14b230af7cb1a1e9536130e2f0e514d69bd' ) pkgver() { cd "${srcdir}/${pkgname%-git}" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } package() { |