blob: 6887d2e7219d101272cf68f33603439ba73f4212 (
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
|
# Maintainer: Claudia Pellegrino <aur ät cpellegrino.de>
# Contributor:
pkgname=calm-git
pkgver=r335.abb1c0d
pkgrel=1
pkgdesc='Cygwin package server toolkit'
arch=('any')
url='https://cygwin.com/package-server.html'
license=('custom:MIT')
depends=('python')
makedepends=('python')
source=(
"${pkgname}::git+https://sourceware.org/git/cygwin-apps/calm.git"
)
sha512sums=(
'SKIP'
)
pkgver() {
printf "r%s.%s" \
"$(git -C "${pkgname}" rev-list --count HEAD)" \
"$(git -C "${pkgname}" rev-parse --short HEAD)"
}
package() {
cd "${srcdir}/${pkgname}"
python setup.py install --root="${pkgdir}/" --optimize=1
}
|