Add service and packaging.
This commit is contained in:
parent
b0c07ef3a3
commit
e18e84e573
5 changed files with 33 additions and 2 deletions
4
build.sh
4
build.sh
|
@ -5,5 +5,5 @@ cd "$(dirname "$(realpath "$0")")"
|
|||
|
||||
./src/gen.ts
|
||||
mkdir -p target
|
||||
deno compile --allow-env --allow-read --output=target/todo src/todo.ts
|
||||
deno compile --allow-all --output=target/service src/service.ts
|
||||
deno compile --allow-env --allow-read --output=target/todo src/todo.ts
|
||||
deno compile --allow-all --output=target/feseur-service src/feseur-service.ts
|
||||
|
|
9
feseur.service
Normal file
9
feseur.service
Normal file
|
@ -0,0 +1,9 @@
|
|||
[Unit]
|
||||
Description=Feseur refreshing service.
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=feseur-service
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
1
package/aur/.gitignore
vendored
Normal file
1
package/aur/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
*
|
21
package/aur/PKGBUILD
Normal file
21
package/aur/PKGBUILD
Normal file
|
@ -0,0 +1,21 @@
|
|||
# Maintainer: JOLIMAITRE Matthieu <matthieu@imagevo.fr>
|
||||
|
||||
pkgname=feseur
|
||||
pkgver=1.0.0
|
||||
pkgrel=1
|
||||
pkgdesc="TODO list management service."
|
||||
url="https://git.barnulf.net/mb/feseur"
|
||||
license=("GPL-3.0+")
|
||||
arch=("x86_64")
|
||||
makedepends=("deno")
|
||||
provides=("feseur-service" "todo")
|
||||
conflicts=("feseur-service" "todo")
|
||||
source=("git+https://git.barnulf.net/mb/feseur.git#branch=master")
|
||||
sha256sums=("SKIP")
|
||||
|
||||
package() {
|
||||
pwd
|
||||
feseur/build.sh
|
||||
install -Dm755 feseur/target/todo -t "$pkgdir/usr/bin/todo"
|
||||
install -Dm644 feseur/target/feseur-service "$pkgdir/usr/bin/todo/feseur-service"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue