You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
597 B

  1. # Maintainer: John K. Luebs <jkl at johnluebs dot tld>
  2. pkgname=gitea-tea
  3. _pkgname=tea
  4. pkgver=0.4.0
  5. pkgrel=1
  6. pkgdesc="Painless self-hosted Git service.."
  7. arch=(x86_64)
  8. url="https://gitea.io"
  9. license=(MIT)
  10. makedepends=(go-pie)
  11. source=("https://gitea.com/gitea/tea/archive/v${pkgver}.tar.gz")
  12. sha256sums=('689b67fac6200846633c66aa0a687371b20aa85a5d2d338a4e8f5f51b44d1b32')
  13. build() {
  14. cd ${_pkgname}
  15. export TEA_VERSION=v${pkgver}
  16. make
  17. }
  18. package() {
  19. cd ${_pkgname}
  20. install -Dm755 ${_pkgname} -t "${pkgdir}"/usr/bin/
  21. install -Dm755 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
  22. }