add package: static-deployer
This commit is contained in:
parent
0ceff316ca
commit
61d42dec3c
25
static-deployer-git/DEBBUILD
Normal file
25
static-deployer-git/DEBBUILD
Normal file
|
@ -0,0 +1,25 @@
|
|||
#/usr/bin/env bash
|
||||
|
||||
pkgname="static-deployer"
|
||||
pkgver=0.0.6.g7067e8f
|
||||
pkgrel=1
|
||||
pkgdesc="A simple daemon to deploy static site"
|
||||
url="https://git.leafee98.com/leafee98/static_deployer"
|
||||
maintainer="Leafee98 <me@leafee98.com>"
|
||||
|
||||
source=(
|
||||
"static_deployer::git+https://git.leafee98.com/leafee98/static_deployer.git"
|
||||
)
|
||||
|
||||
function pkgver {
|
||||
git -C src/static_deployer describe --tags --long | sed -e 's/^v//; s/-/./g'
|
||||
}
|
||||
|
||||
function pkgver {
|
||||
git -C "${srcdir}/static_deployer" describe --tags --long | sed 's/^v//;s/-/./g'
|
||||
}
|
||||
|
||||
function package {
|
||||
install -D "${srcdir}/static_deployer/main.py" "${pkgdir}/usr/bin/static-deployer"
|
||||
}
|
||||
|
Loading…
Reference in a new issue