2020-03-29 02:00:15 +00:00
|
|
|
# Maintainer: John K. Luebs <jkl at johnluebs dot tld>
|
|
|
|
|
|
|
|
pkgname=gitea-tea
|
|
|
|
_pkgname=tea
|
2020-07-23 18:51:40 +00:00
|
|
|
pkgver=0.4.0
|
2020-03-29 02:00:15 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Painless self-hosted Git service.."
|
|
|
|
arch=(x86_64)
|
|
|
|
url="https://gitea.io"
|
|
|
|
license=(MIT)
|
|
|
|
makedepends=(go-pie)
|
2020-07-23 18:51:40 +00:00
|
|
|
source=("https://gitea.com/gitea/tea/archive/v${pkgver}.tar.gz")
|
|
|
|
sha256sums=('689b67fac6200846633c66aa0a687371b20aa85a5d2d338a4e8f5f51b44d1b32')
|
2020-03-29 02:00:15 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${_pkgname}
|
2020-07-23 18:51:40 +00:00
|
|
|
export TEA_VERSION=v${pkgver}
|
|
|
|
make
|
2020-03-29 02:00:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${_pkgname}
|
|
|
|
|
|
|
|
install -Dm755 ${_pkgname} -t "${pkgdir}"/usr/bin/
|
|
|
|
install -Dm755 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
|
|
|
|
}
|