File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1
1
pkgbase = asfa-git
2
2
pkgdesc = share files by upload via ssh and generation of a non-guessable link
3
- pkgver = 0.10.0.r3.g0f6b0b4
3
+ pkgver = 0.10.0.1.r0.g7ab27e1
4
4
pkgrel = 1
5
5
url = https://github.com/obreitwi/asfa
6
6
arch = x86_64
Original file line number Diff line number Diff line change 2
2
3
3
_pkgname=asfa
4
4
pkgname=${_pkgname} -git
5
- pkgver=0.10.0.r3.g0f6b0b4
5
+ pkgver=0.10.0.1.r0.g7ab27e1
6
6
pkgrel=1
7
7
pkgdesc=' share files by upload via ssh and generation of a non-guessable link'
8
8
arch=(' x86_64' )
@@ -38,7 +38,8 @@ _cargo_version() {
38
38
# Only difference: dash after minor version.
39
39
_ensure_version_information () {
40
40
local _version
41
- _version=" $( _cargo_version) "
41
+ # patch version to denote binary re-release with a dash
42
+ _version=" $( _cargo_version | sed ' s/\./-/3' ) "
42
43
cd " $srcdir /$_pkgname "
43
44
sed -i " s/^version = .*\$ /version = \" ${_version} \" /" Cargo.toml
44
45
# Replace the new verison in Cargo.lock but keep all other version info
@@ -80,5 +81,9 @@ package() {
80
81
find target/release/man/man1 -type f -print0 \
81
82
| xargs -0 install -Dm644 -t " $pkgdir /usr/share/man/man1"
82
83
find " $pkgdir /usr/share/man/man1" -type f -print0 | xargs -0 gzip
84
+ find example-config -type f -print0 \
85
+ | xargs -0 install -Dm644 -t " $pkgdir /usr/share/doc/asfa/example-config"
86
+ install -Dm644 README.md -t " $pkgdir /usr/share/doc/asfa"
87
+ install -Dm644 CHANGELOG.md -t " $pkgdir /usr/share/doc/asfa"
83
88
}
84
89
You can’t perform that action at this time.
0 commit comments