initial commit

This commit is contained in:
John K. Luebs 2020-03-28 22:00:15 -04:00
commit 7968539a0e
2 changed files with 41 additions and 0 deletions

13
.SRCINFO Normal file
View File

@ -0,0 +1,13 @@
pkgbase = gitea-tea
pkgdesc = Painless self-hosted Git service..
pkgver = 0.2.0
pkgrel = 1
url = https://gitea.io
arch = x86_64
license = MIT
makedepends = go-pie
source = git+https://gitea.com/gitea/tea.git#tag=12f38c892f5d34ea58edd6fda15e7f0691d8d7cd
sha256sums = SKIP

pkgname = gitea-tea

28
PKGBUILD Normal file
View File

@ -0,0 +1,28 @@
# Maintainer: John K. Luebs <jkl at johnluebs dot tld>

pkgname=gitea-tea
_pkgname=tea
pkgver=0.2.0
pkgrel=1
pkgdesc="Painless self-hosted Git service.."
arch=(x86_64)
url="https://gitea.io"
license=(MIT)
makedepends=(go-pie)
_tag=12f38c892f5d34ea58edd6fda15e7f0691d8d7cd
source=("git+https://gitea.com/gitea/tea.git#tag=${_tag}")
sha256sums=(SKIP)

build() {
cd ${_pkgname}
go build -mod=vendor \
-trimpath \
-ldflags "-extldflags $LDFLAGS" .
}

package() {
cd ${_pkgname}

install -Dm755 ${_pkgname} -t "${pkgdir}"/usr/bin/
install -Dm755 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
}