blob: ac8817b2b2f62f2fb2118ff31415f2a497d9f016 (
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
46
47
48
49
50
51
52
53
54
55
|
# Maintainer: Luke Kuza <luke.kuza@gmail.com>
pkgname=lubelogger
pkgver=1.2.1
pkgrel=1
pkgdesc="A self-hosted, open-source vehicle service records and maintainence tracker."
arch=('any')
url="https://github.com/hargata/lubelog"
license=('MIT')
groups=()
depends=('dotnet-runtime' 'aspnet-runtime')
makedepends=('dotnet-sdk')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=('!strip')
install=
changelog=
altname=lubelog
source=(
"${altname}-${pkgver}.tar.gz::https://github.com/hargata/lubelog/archive/refs/tags/v${pkgver}.tar.gz"
'lubelogger.service'
'sysusers'
'tmpfiles'
)
noextract=()
sha256sums=('9eb4e4635aa3ee571bca3a3db29fae3b926801404ff82ccfc0d98400d324b0e9'
'37b77224dd7e98cf3bb73a606a12da4990143e37ba78109f87706003cfdf427f'
'a638ea4b0652e78b2f1cbdb46f160c9d5b10e31f09fdd0a64ed80cbf6fb8209d'
'ca5a4b6b6c2bf761b5e7b767e401e9bf99452eaba078affff8ab65e73ce5baae')
prepare() {
cd "${srcdir}/${altname}-${pkgver}"
}
build() {
cd "${srcdir}/${altname}-${pkgver}"
dotnet publish CarCareTracker.sln --configuration Release --self-contained false
}
package() {
install -d -m 0755 "${pkgdir}/usr/share/webapps/lubelogger"
cd "${srcdir}/${altname}-${pkgver}/bin/Release/net8.0/publish"
cp -r ./* "${pkgdir}/usr/share/webapps/lubelogger"
install -d -m 0750 "${pkgdir}/var/lib/lubelogger"
cd "${srcdir}"
install -D -m 0644 sysusers "${pkgdir}/usr/lib/sysusers.d/lubelogger.conf"
install -D -m 0644 tmpfiles "${pkgdir}/usr/lib/tmpfiles.d/lubelogger.conf"
install -D -m 0644 lubelogger.service "${pkgdir}/usr/lib/systemd/system/lubelogger.service"
}
|