makedeb/DEBBUILD

33 lines
837 B
Plaintext

#/usr/bin/env bash
pkgname="forgejo"
pkgver=23333 # this will be override by pkgver function
pkgrel=1
pkgcommit=""
pkgdesc="A painless selfhost git service."
url="https://codeberg.org/forgejo/forgejo"
maintainer="Leafee98 <me@leafee98.com>"
source=(
"forgejo-1.19.0-2-linux-amd64.xz::https://codeberg.org/attachments/5f7f9d36-b85e-40db-b390-9bf39acbbbc5"
"bwifi::git+https://cgit.leafee98.com/bwifi.git/#commit=8af4243f622bcb52f2e5be3345e282fd7cbad4d0"
"frp-0.46.1.tar.gz::material/frp-0.46.1.tar.gz"
"pkg.zip::material/pkg.zip"
"t.sh::material/t.sh"
)
# This will be run just follow extracting source
function pkgver {
echo "1.19.0-2"
}
function build {
install -D "${srcdir}/t.sh" "${pkgdir}/usr/bin/t.sh"
echo "building"
}
function package {
echo "installing package, pkgdir: ${pkgdir}"
}