Compare commits
No commits in common. "e7fafb3fb69de440cc0f32d86b92fab33b9e548e" and "cadaeb748567ef31f477e99591a606a9fcdffcfc" have entirely different histories.
e7fafb3fb6
...
cadaeb7485
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,7 +1,7 @@
|
||||||
/secrets.env
|
/secrets.env
|
||||||
|
|
||||||
/*/*
|
/*/*
|
||||||
!/*/DEBBUILD
|
!/*/PKGBUILD
|
||||||
!/*/materials
|
!/*/materials
|
||||||
|
|
||||||
!/script/*
|
!/script/*
|
||||||
|
|
|
@ -1,29 +0,0 @@
|
||||||
#/usr/bin/env bash
|
|
||||||
|
|
||||||
pkgname="apt-repo-updater-git"
|
|
||||||
pkgver=0.0.1.0.g8a9cb1e
|
|
||||||
pkgrel=1
|
|
||||||
arch="all"
|
|
||||||
pkgcommit=""
|
|
||||||
section="utils" # https://www.debian.org/doc/debian-policy/ch-archive.html#s-subsections
|
|
||||||
priority="optional" # https://www.debian.org/doc/debian-policy/ch-archive.html#s-priorities
|
|
||||||
pkgdesc="monitor a dir and execute reprepro to include new .deb files"
|
|
||||||
url="https://git.leafee98.com/leafee98/apt-repo-updater"
|
|
||||||
maintainer="Leafee98 <me@leafee98.com>"
|
|
||||||
|
|
||||||
source=(
|
|
||||||
"apt-repo-updater::git+https://git.leafee98.com/leafee98/apt-repo-updater.git"
|
|
||||||
"apt-repo-updater.service::materials/apt-repo-updater.service"
|
|
||||||
)
|
|
||||||
|
|
||||||
function pkgver {
|
|
||||||
(
|
|
||||||
cd apt-repo-updater
|
|
||||||
git describe --tags --long | sed 's/^v//;s/-/./g'
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
function package {
|
|
||||||
install -Dm755 "${srcdir}/apt-repo-updater/apt-repo-updater" "${pkgdir}/usr/bin/apt-repo-updater"
|
|
||||||
install -Dm644 "${srcdir}/apt-repo-updater.service" "${pkgdir}/usr/lib/systemd/system/apt-repo-updater.service"
|
|
||||||
}
|
|
|
@ -1,10 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=monitor a dir and execute reprepro to include new .deb files
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
# dont just start this service, use your own overwrited service
|
|
||||||
ExecStart=/usr/bin/apt-repo-updater --work-dir /srv/apt-repo-updater
|
|
||||||
Restart=on-failure
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
Loading…
Reference in a new issue