summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddyHuang-002024-02-20 14:35:45 -0500
committerTeddyHuang-002024-02-20 14:35:45 -0500
commit78ea220b6e325804f5d10761dd77441e600194af (patch)
tree7995930bc144953aa1870aa0d3dfed30c11f0d75
parent761bf39c43c3793e9619b36c573f97888ba58c2b (diff)
downloadaur-78ea220b6e325804f5d10761dd77441e600194af.tar.gz
chore: remove duplicative license into shared source
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD26
2 files changed, 15 insertions, 29 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a025c0be6e9d..9be6e8e397c8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = typstfmt-bin
pkgdesc = Basic formatter for the Typst language with a future!
pkgver = 0.2.7
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/astrale-sharp/typstfmt
changelog = typstfmt-bin.changelog
arch = x86_64
@@ -11,23 +11,15 @@ pkgbase = typstfmt-bin
license = Apache-2.0
provides = typstfmt
conflicts = typstfmt-git
+ source = LICENSE-APACHE::https://raw.githubusercontent.com/astrale-sharp/typstfmt/main/LICENSE-APACHE
+ source = LICENSE-MIT::https://raw.githubusercontent.com/astrale-sharp/typstfmt/main/LICENSE-MIT
+ sha256sums = 3905892d35c90001cd11101d367d4073b773f30fa7ce868748969f4cc1fb24c2
+ sha256sums = 7e302d0694378f3f9584985cf56db84d89b0bcb9f78d04381397349ff50162af
source_x86_64 = typstfmt-bin-x86_64-0.2.7.tar.xz::https://github.com/astrale-sharp/typstfmt/releases/download/0.2.7/typstfmt-x86_64-unknown-linux-musl.tar.xz
- source_x86_64 = LICENSE-APACHE::https://raw.githubusercontent.com/astrale-sharp/typstfmt/main/LICENSE-APACHE
- source_x86_64 = LICENSE-MIT::https://raw.githubusercontent.com/astrale-sharp/typstfmt/main/LICENSE-MIT
sha256sums_x86_64 = ac0ec3a4a9099b9737d2a79b02173c4444835e4bc873eb7ed446fe5f5b87d2f4
- sha256sums_x86_64 = 3905892d35c90001cd11101d367d4073b773f30fa7ce868748969f4cc1fb24c2
- sha256sums_x86_64 = 7e302d0694378f3f9584985cf56db84d89b0bcb9f78d04381397349ff50162af
source_aarch64 = typstfmt-bin-aarch64-0.2.7.tar.xz::https://github.com/astrale-sharp/typstfmt/releases/download/0.2.7/typstfmt-aarch64-unknown-linux-musl.tar.xz
- source_aarch64 = LICENSE-APACHE::https://raw.githubusercontent.com/astrale-sharp/typstfmt/main/LICENSE-APACHE
- source_aarch64 = LICENSE-MIT::https://raw.githubusercontent.com/astrale-sharp/typstfmt/main/LICENSE-MIT
sha256sums_aarch64 = 80e990e47c5291c166cb1d5c6f22d17f7779b2644abf2543cef834c8dc3dfc10
- sha256sums_aarch64 = 3905892d35c90001cd11101d367d4073b773f30fa7ce868748969f4cc1fb24c2
- sha256sums_aarch64 = 7e302d0694378f3f9584985cf56db84d89b0bcb9f78d04381397349ff50162af
source_armv7h = typstfmt-bin-armv7h-0.2.7.tar.xz::https://github.com/astrale-sharp/typstfmt/releases/download/0.2.7/typstfmt-armv7-unknown-linux-musleabi.tar.xz
- source_armv7h = LICENSE-APACHE::https://raw.githubusercontent.com/astrale-sharp/typstfmt/main/LICENSE-APACHE
- source_armv7h = LICENSE-MIT::https://raw.githubusercontent.com/astrale-sharp/typstfmt/main/LICENSE-MIT
sha256sums_armv7h = 3125f28e14d090f64d0b649060863c34b517ea9b1cc4e3da0e122797d3fe9a0c
- sha256sums_armv7h = 3905892d35c90001cd11101d367d4073b773f30fa7ce868748969f4cc1fb24c2
- sha256sums_armv7h = 7e302d0694378f3f9584985cf56db84d89b0bcb9f78d04381397349ff50162af
pkgname = typstfmt-bin
diff --git a/PKGBUILD b/PKGBUILD
index 7fddf0167e82..9762fa7128b0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Theodore Huang <teddyhuangnan@gmail.com>
pkgname=typstfmt-bin
pkgver=0.2.7
-pkgrel=1
+pkgrel=2
pkgdesc="Basic formatter for the Typst language with a future!"
arch=("x86_64" "aarch64" "armv7h")
url="https://github.com/astrale-sharp/typstfmt"
@@ -9,31 +9,25 @@ license=("MIT" "Apache-2.0")
provides=("typstfmt")
conflicts=("typstfmt-git")
changelog=$pkgname.changelog
-source_x86_64=(
- $pkgname-x86_64-$pkgver.tar.xz::https://github.com/astrale-sharp/typstfmt/releases/download/$pkgver/typstfmt-x86_64-unknown-linux-musl.tar.xz
+source=(
LICENSE-APACHE::https://raw.githubusercontent.com/astrale-sharp/typstfmt/main/LICENSE-APACHE
LICENSE-MIT::https://raw.githubusercontent.com/astrale-sharp/typstfmt/main/LICENSE-MIT
+ )
+source_x86_64=(
+ $pkgname-x86_64-$pkgver.tar.xz::https://github.com/astrale-sharp/typstfmt/releases/download/$pkgver/typstfmt-x86_64-unknown-linux-musl.tar.xz
)
source_aarch64=(
$pkgname-aarch64-$pkgver.tar.xz::https://github.com/astrale-sharp/typstfmt/releases/download/$pkgver/typstfmt-aarch64-unknown-linux-musl.tar.xz
- LICENSE-APACHE::https://raw.githubusercontent.com/astrale-sharp/typstfmt/main/LICENSE-APACHE
- LICENSE-MIT::https://raw.githubusercontent.com/astrale-sharp/typstfmt/main/LICENSE-MIT
)
source_armv7h=(
$pkgname-armv7h-$pkgver.tar.xz::https://github.com/astrale-sharp/typstfmt/releases/download/$pkgver/typstfmt-armv7-unknown-linux-musleabi.tar.xz
- LICENSE-APACHE::https://raw.githubusercontent.com/astrale-sharp/typstfmt/main/LICENSE-APACHE
- LICENSE-MIT::https://raw.githubusercontent.com/astrale-sharp/typstfmt/main/LICENSE-MIT
)
# checksum generate with 'makepkg -g'
-sha256sums_x86_64=('ac0ec3a4a9099b9737d2a79b02173c4444835e4bc873eb7ed446fe5f5b87d2f4'
- '3905892d35c90001cd11101d367d4073b773f30fa7ce868748969f4cc1fb24c2'
- '7e302d0694378f3f9584985cf56db84d89b0bcb9f78d04381397349ff50162af')
-sha256sums_aarch64=('80e990e47c5291c166cb1d5c6f22d17f7779b2644abf2543cef834c8dc3dfc10'
- '3905892d35c90001cd11101d367d4073b773f30fa7ce868748969f4cc1fb24c2'
- '7e302d0694378f3f9584985cf56db84d89b0bcb9f78d04381397349ff50162af')
-sha256sums_armv7h=('3125f28e14d090f64d0b649060863c34b517ea9b1cc4e3da0e122797d3fe9a0c'
- '3905892d35c90001cd11101d367d4073b773f30fa7ce868748969f4cc1fb24c2'
- '7e302d0694378f3f9584985cf56db84d89b0bcb9f78d04381397349ff50162af')
+sha256sums=('3905892d35c90001cd11101d367d4073b773f30fa7ce868748969f4cc1fb24c2'
+ '7e302d0694378f3f9584985cf56db84d89b0bcb9f78d04381397349ff50162af')
+sha256sums_x86_64=('ac0ec3a4a9099b9737d2a79b02173c4444835e4bc873eb7ed446fe5f5b87d2f4')
+sha256sums_aarch64=('80e990e47c5291c166cb1d5c6f22d17f7779b2644abf2543cef834c8dc3dfc10')
+sha256sums_armv7h=('3125f28e14d090f64d0b649060863c34b517ea9b1cc4e3da0e122797d3fe9a0c')
build() {
if [ $CARCH == "x86_64" ]; then