[arch-commits] Commit in zola/repos (community-x86_64 community-x86_64/PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Wed Jul 15 06:09:12 UTC 2020


    Date: Wednesday, July 15, 2020 @ 06:09:12
  Author: svenstaro
Revision: 663832

archrelease: copy trunk to community-x86_64

Added:
  zola/repos/community-x86_64/
  zola/repos/community-x86_64/PKGBUILD
    (from rev 663831, zola/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: zola/repos/community-x86_64/PKGBUILD (from rev 663831, zola/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-07-15 06:09:12 UTC (rev 663832)
@@ -0,0 +1,30 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+pkgname=zola
+pkgver=0.11.0
+pkgrel=4
+pkgdesc="An opinionated static site generator"
+arch=('x86_64')
+url="https://github.com/getzola/zola"
+depends=('gcc-libs')
+makedepends=('rust')
+license=('MIT')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/getzola/zola/archive/v${pkgver}.tar.gz")
+sha256sums=('09840a55d13a81a7a04767d01e5e44cc3710e79c78f43f0ebde4a6a17e0728ca')
+
+build() {
+  cd zola-$pkgver
+  cargo build --release --locked
+}
+
+check() {
+  cd zola-$pkgver
+  cargo test --release --locked
+}
+
+package() {
+  cd zola-$pkgver
+  install -Dm755 target/release/zola "$pkgdir"/usr/bin/zola
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list