82734470d2
All checks were successful
ci/woodpecker/push/build Pipeline was successful
- update makedeb - use bin, git, normal, leafee98 to classify packages - only build package from leafee98 and bin in ci - add script to build all packages locally - add more log about running hook in build.sh
30 lines
716 B
Plaintext
30 lines
716 B
Plaintext
#/usr/bin/env bash
|
|
|
|
pkgname="lemonade-git"
|
|
arch="amd64"
|
|
pkgrel=1
|
|
pkgver=1.1.2.0.gfb41f18
|
|
pkgdesc="Dendrite is a second-generation Matrix homeserver written in Go!"
|
|
url="https://github.com/matrix-org/dendrite"
|
|
maintainer="Leafee98 <me@leafee98.com>"
|
|
|
|
source=(
|
|
"lemonade::git+https://github.com/lemonade-command/lemonade.git#branch=master"
|
|
)
|
|
|
|
function pkgver {
|
|
git -C ${srcdir}/lemonade describe --tags --long | sed -e 's/^v//; s/-/./g'
|
|
}
|
|
|
|
function build {
|
|
(
|
|
cd ${srcdir}/lemonade
|
|
go build
|
|
)
|
|
}
|
|
|
|
function package {
|
|
install -Dm755 ${srcdir}/lemonade/lemonade ${pkgdir}/usr/bin/lemonade
|
|
install -Dm644 ${srcdir}/lemonade/LICENSE ${pkgdir}/usr/share/licenses/lemonade-git/LICENSE
|
|
}
|