blob: 9f5d1be14e86ef8eece61234fbd923b29ba0e356 (
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
38
39
40
41
|
# Maintainer: Chris Severance aur.severach aATt spamgourmet dott com
set -u
pkgname='doit'
pkgver='20160307'
pkgrel='1'
pkgdesc='yet another remote-execution daemon for Windows'
arch=('i686' 'x86_64')
url='https://www.chiark.greenend.org.uk/~sgtatham/doit/'
license=('MIT')
#depends=('perl')
source=("doit-${pkgver}.tar.gz::${url}doit.tar.gz")
sha256sums=('b547f0ccedd23bd1035ea83ee1820b8dd59b1e6aae3348f3e85533e592fbff7c')
_vercheck() {
curl -s -l 'http://tartarus.org/~simon-git/gitweb/?p=doit.git' | sed -n -e 's:^<td title="[^"]\+"><i>\([0-9]\+\)-\([0-9]\+\)-\([0-9]\+\)</i></td>.*$:\1\2\3:p' | LC_ALL=C sort -n
}
prepare() {
set -u
cd "${srcdir}/${pkgname}"
./configure
set +u
}
build() {
set -u
cd "${srcdir}/${pkgname}"
make -s
set +u
}
package() {
set -u
cd "${srcdir}/${pkgname}"
make DESTDIR="${pkgdir}" install
install -Dpm644 'LICENCE' "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" # spelling
install -Dpm644 'README' -t "${pkgdir}/usr/share/doc/${pkgname}/"
set +u
}
set +u
|