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.

PKGBUILD 624B

12345678910111213141516171819202122232425
  1. # Maintainer: John "ShaggyTwoDope" Jenkins <twodopeshaggy at gmail dot com>
  2. pkgname=tir
  3. pkgver=0.2.3
  4. pkgrel=1
  5. pkgdesc="Terminal Image Renderer"
  6. arch=('i686' 'x86_64')
  7. url=https://github.com/shaggytwodope/tir
  8. license=(GPL3)
  9. makedepends=('go')
  10. provides=('tir')
  11. source=("${pkgname}-${pkgver}.tar.gz::https://github.com/shaggytwodope/${pkgname}/archive/${pkgver}.tar.gz")
  12. sha1sums=('1fb47f513fa84cd4f290ad3b27aaa2bd464fd747')
  13. build() {
  14. export GOPATH="${srcdir}/godir"
  15. mkdir -p "$GOPATH"
  16. cd "${srcdir}/${pkgname}-${pkgver}"
  17. make
  18. }
  19. package() {
  20. cd "${srcdir}/${pkgname}-${pkgver}"
  21. install -D tir "${pkgdir}/usr/bin/tir"
  22. }