PKGBUILD 770 B

1234567891011121314151617181920212223242526
  1. # Maintainer : Sagar Acharya <sagar@hyperbola.info>
  2. pkgname='stagit'
  3. pkgver=0.9.6
  4. pkgrel=1
  5. pkgdesc='Static site generator for git version control'
  6. arch=('x86_64')
  7. url='https://codemadness.org/stagit.html'
  8. license=('Expat')
  9. depends=('libgit2')
  10. optdepends=('git: scripting functionality')
  11. source=("https://codemadness.org/releases/stagit/${pkgname}-${pkgver}.tar.gz")
  12. sha256sums=('d072f386f3a546ed0341e20f9c2dfd7756a761fab1c40316a96690cb2b3066d0')
  13. sha512sums=('d9f0cdb67ed0e6355f0485e36cc81136d7f21d73a35010faf41f2c967ff462ca948b2b8d2e6ce226a065969636d1ffc5603ef8da2c86598b861bd6c7c2f0d368')
  14. build() {
  15. cd $pkgname-$pkgver
  16. make
  17. }
  18. package() {
  19. cd $pkgname-$pkgver
  20. make DESTDIR="${pkgdir}" install
  21. install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
  22. }