diff --git a/.SRCINFO b/.SRCINFO index 81772f109e00..cb977a75e57b 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = rumdl-bin pkgdesc = Markdown Linter and Formatter written in Rust pkgver = 0.1.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/rvben/rumdl arch = x86_64 arch = aarch64 @@ -9,17 +9,15 @@ pkgbase = rumdl-bin depends = glibc provides = rumdl conflicts = rumdl + source = LICENSE_0.1.0::https://raw.githubusercontent.com/rvben/rumdl/refs/tags/v0.1.0/LICENSE + sha256sums = 531eee1345aea0b92d0b2cb7c3994b233dffe9d738ed1d2a6ae3cddf49b3d773 source_x86_64 = rumdl-bin-0.1.0-x86_64.tar.gz::https://github.com/rvben/rumdl/releases/download/v0.1.0/rumdl-v0.1.0-x86_64-unknown-linux-gnu.tar.gz source_x86_64 = rumdl-bin-0.1.0-x86_64.tar.gz.sha256::https://github.com/rvben/rumdl/releases/download/v0.1.0/rumdl-v0.1.0-x86_64-unknown-linux-gnu.tar.gz.sha256 - source_x86_64 = LICENSE sha256sums_x86_64 = 350f3ea85811418fcca680487e90894504444d75f152556754e86398fe9b2571 sha256sums_x86_64 = 866870898376cff705dbb08930d12c01b04e1f6470e0d3bf121eb3efb4150b12 - sha256sums_x86_64 = 531eee1345aea0b92d0b2cb7c3994b233dffe9d738ed1d2a6ae3cddf49b3d773 source_aarch64 = rumdl-bin-0.1.0-aarch64.tar.gz::https://github.com/rvben/rumdl/releases/download/v0.1.0/rumdl-v0.1.0-aarch64-unknown-linux-gnu.tar.gz source_aarch64 = rumdl-bin-0.1.0-aarch64.tar.gz.sha256::https://github.com/rvben/rumdl/releases/download/v0.1.0/rumdl-v0.1.0-aarch64-unknown-linux-gnu.tar.gz.sha256 - source_aarch64 = LICENSE sha256sums_aarch64 = 41914f97591d4e1add4d91effb53202e1ddd09052001c8ee8ffc93f8df7b1dc0 sha256sums_aarch64 = 8d7b4ef50d76195ea9e6628b037b87ab92e7f810f71f1fad86123d3101f55c79 - sha256sums_aarch64 = 531eee1345aea0b92d0b2cb7c3994b233dffe9d738ed1d2a6ae3cddf49b3d773 pkgname = rumdl-bin diff --git a/.gitignore b/.gitignore index 16d5b6732748..8b0873eccd05 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ pkg *.tar.zst *.log *tar.gz.sha256 +LICENSE_* diff --git a/LICENSE b/LICENSE deleted file mode 100644 index a40296aafac9..000000000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2024-2025 Ruben J. Jongejan - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/PKGBUILD b/PKGBUILD index dd1cae7748ec..da236eff93b2 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,35 +2,35 @@ pkgname=rumdl-bin pkgver=0.1.0 -pkgrel=1 +pkgrel=2 pkgdesc='Markdown Linter and Formatter written in Rust' arch=('x86_64' 'aarch64') url=https://github.com/rvben/rumdl +_rawurl="${url/github.com/raw.githubusercontent.com}/refs/tags/v$pkgver" license=('MIT') depends=(glibc) provides=("${pkgname%-bin}") conflicts=("${pkgname%-bin}") +source=( + "LICENSE_$pkgver::$_rawurl/LICENSE" +) source_aarch64=( $pkgname-$pkgver-aarch64.tar.gz::$url/releases/download/v$pkgver/${pkgname%-bin}-v$pkgver-aarch64-unknown-linux-gnu.tar.gz $pkgname-$pkgver-aarch64.tar.gz.sha256::$url/releases/download/v$pkgver/${pkgname%-bin}-v$pkgver-aarch64-unknown-linux-gnu.tar.gz.sha256 - LICENSE ) source_x86_64=( $pkgname-$pkgver-x86_64.tar.gz::$url/releases/download/v$pkgver/${pkgname%-bin}-v$pkgver-x86_64-unknown-linux-gnu.tar.gz $pkgname-$pkgver-x86_64.tar.gz.sha256::$url/releases/download/v$pkgver/${pkgname%-bin}-v$pkgver-x86_64-unknown-linux-gnu.tar.gz.sha256 - LICENSE ) +sha256sums=('531eee1345aea0b92d0b2cb7c3994b233dffe9d738ed1d2a6ae3cddf49b3d773') sha256sums_x86_64=('350f3ea85811418fcca680487e90894504444d75f152556754e86398fe9b2571' - '866870898376cff705dbb08930d12c01b04e1f6470e0d3bf121eb3efb4150b12' - '531eee1345aea0b92d0b2cb7c3994b233dffe9d738ed1d2a6ae3cddf49b3d773') + '866870898376cff705dbb08930d12c01b04e1f6470e0d3bf121eb3efb4150b12') sha256sums_aarch64=('41914f97591d4e1add4d91effb53202e1ddd09052001c8ee8ffc93f8df7b1dc0' - '8d7b4ef50d76195ea9e6628b037b87ab92e7f810f71f1fad86123d3101f55c79' - '531eee1345aea0b92d0b2cb7c3994b233dffe9d738ed1d2a6ae3cddf49b3d773') - + '8d7b4ef50d76195ea9e6628b037b87ab92e7f810f71f1fad86123d3101f55c79') package() { install -Dm0755 -t "$pkgdir/usr/bin/" "${pkgname%-bin}" - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname%-bin}/LICENSE" + install -Dm644 LICENSE_$pkgver "${pkgdir}/usr/share/licenses/${pkgname%-bin}/LICENSE" }