blob: 31343dcdcfb5aef0ecae4a7dc281d315fbcfad4c (
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
42
43
44
45
|
# Maintainer: replabrobin
# services for arch-runit
#
# copyright see
# http://creativecommons.org/publicdomain/zero/1.0/
pkgname=arch-runit-services
pkgver=20150530_1544
_runit_ver=2.1.2
pkgrel=1
pkgdesc='Arch native runit package'
url='https://bitbucket/replabrobin/arch-unit-services'
license=('Creative Commons')
arch=('any')
source=("$pkgname::hg+https://bitbucket.org/replabrobin/arch-runit-services")
sha256sums=('SKIP')
depends=()
makedepends=('mercurial')
optdepends=()
provides=('arch-runit-services')
conflicts=(
runit-scripts
runit-services
runit-services-git
void-runit
)
build(){
true
}
pkgver(){
cd "$pkgname"
hg log --limit=1 --template='{date|isodate}' | sed -e's/ /_/;s/ .*$//;s/-//g;s/://'
}
package() {
local d
cd "$srcdir/$pkgname"
install -dm0755 "$pkgdir/etc"
install -dm0755 "$pkgdir/etc/sv"
for d in *; do
[ -f "$d/run" ] && cp -pr $d $pkgdir/etc/sv/$x
done
}
|