makedeb/DEBBUILD

33 lines
837 B
Plaintext
Raw Normal View History

2023-03-24 07:06:38 +00:00
#/usr/bin/env bash
pkgname="forgejo"
pkgver=23333 # this will be override by pkgver function
2023-03-24 07:06:38 +00:00
pkgrel=1
pkgcommit=""
2023-03-24 07:06:38 +00:00
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"
2023-03-24 07:06:38 +00:00
)
# This will be run just follow extracting source
2023-03-24 07:06:38 +00:00
function pkgver {
echo "1.19.0-2"
2023-03-24 07:06:38 +00:00
}
function build {
install -D "${srcdir}/t.sh" "${pkgdir}/usr/bin/t.sh"
echo "building"
}
function package {
echo "installing package, pkgdir: ${pkgdir}"
}