blob: 6cd74c5969ecef62c91e5efa0cf290974bc0c05b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: Michael Picht <mipi@fsfe.org>
_pkgname=myrowing
pkgname=${_pkgname}-git
_pkgorg=gitlab.com/${_pkgname}
pkgver=v0.2.5.r11.g5d39600
pkgrel=1
pkgdesc="Analyze your rowing training data"
arch=(any)
url="https://${_pkgorg}/${_pkgname}"
license=(GPL3)
source=("git+https://${_pkgorg}/${_pkgname}.git")
md5sums=(SKIP)
validpgpkeys=(11ECD6695134183B3E7AF1C2223AAA374A1D59CE) # Michael Picht <mipi@fsfe.org>
makedepends=(
git
pwgen
)
provides=(myrowing)
pkgver() {
cd "$_pkgname"
( set -o pipefail
git describe --tags --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)"
)
}
build() {
cd "${_pkgname}"
make
}
package() {
cd "${_pkgname}"
make DESTDIR="${pkgdir}" install
}
|