Date: Wednesday, April 5, 2023 @ 15:45:19
Author: alerque
Revision: 1437777
archrelease: copy trunk to community-x86_64
Added:
typst/repos/community-x86_64/PKGBUILD
(from rev 1437776, typst/trunk/PKGBUILD)
Deleted:
typst/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-05 15:45:10 UTC (rev 1437776)
+++ PKGBUILD 2023-04-05 15:45:19 UTC (rev 1437777)
@@ -1,39 +0,0 @@
-# Maintainer: Caleb Maclennan <[email protected]>
-# Contributor: Ilaï Deutel
-
-pkgname=typst
-pkgver=0.1
-pkgrel=1
-epoch=1
-pkgdesc='A markup-based typesetting system for the sciences'
-arch=(x86_64)
-url="https://$pkgname.app"
-_url="https://github.com/$pkgname/$pkgname"
-license=(Apache)
-makedepends=(cargo
- git)
-_archive="$pkgname-$pkgver"
-source=("$_url/archive/v$pkgver/$_archive.tar.gz")
-sha256sums=('e8533e6cba1422bc2ac5a0c89c936a792fa07df1aaabaf6ac1800f2d79061419')
-
-prepare() {
- local hash=$(gunzip < "$_archive.tar.gz" | git get-tar-commit-id)
- cd "$_archive"
- sed -i -e "/unwrap_or_else/s/(unknown hash)/${hash::8}/" cli/build.rs
- cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-build() {
- cd "$_archive"
- cargo build -p typst-cli --frozen --release --all-features
-}
-
-check() {
- cd "$_archive"
- cargo test --workspace --frozen --all-features
-}
-
-package() {
- cd "$_archive"
- install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname"
-}
Copied: typst/repos/community-x86_64/PKGBUILD (from rev 1437776,
typst/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-05 15:45:19 UTC (rev 1437777)
@@ -0,0 +1,39 @@
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: Ilaï Deutel
+
+pkgname=typst
+pkgver=0.1.0
+pkgrel=1
+epoch=1
+pkgdesc='A markup-based typesetting system for the sciences'
+arch=(x86_64)
+url="https://$pkgname.app"
+_url="https://github.com/$pkgname/$pkgname"
+license=(Apache)
+makedepends=(cargo
+ git)
+_archive="$pkgname-$pkgver"
+source=("$_url/archive/v$pkgver/$_archive.tar.gz")
+sha256sums=('9da7543266c7776aed56c36b9fab95fdb7241674b426cfba287a21f4cf07c172')
+
+prepare() {
+ local hash=$(gunzip < "$_archive.tar.gz" | git get-tar-commit-id)
+ cd "$_archive"
+ sed -i -e "/unwrap_or_else/s/(unknown hash)/${hash::8}/" cli/build.rs
+ cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+ cd "$_archive"
+ cargo build -p typst-cli --frozen --release --all-features
+}
+
+check() {
+ cd "$_archive"
+ cargo test --workspace --frozen --all-features
+}
+
+package() {
+ cd "$_archive"
+ install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname"
+}