George Hu pushed to branch main at Arch Linux / Packaging / Packages / fvm


Commits:
d8164185 by George Hu at 2025-11-07T20:47:48+08:00
Replace tarball with git source

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -11,7 +11,7 @@ pkgbase = fvm
        depends = unzip
        options = !strip
        options = !debug
-       source = 
fvm-4.0.1.tar.gz::https://github.com/leoafarias/fvm/archive/4.0.1.tar.gz
-       sha256sums = 
c18df2551ef72b9cb37a51dbd595509416b69e13830d6de8c547a621544e37a0
+       source = git+https://github.com/leoafarias/fvm.git#tag=4.0.1
+       sha256sums = 
57aed2218bda21ae6f74c648673cd05de9f09c07c096b01809c816b946b07d15
 
 pkgname = fvm


=====================================
PKGBUILD
=====================================
@@ -10,12 +10,12 @@ url="https://${pkgname}.app";
 license=('MIT')
 depends=('git' 'glibc' 'unzip')
 makedepends=('dart')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/leoafarias/${pkgname}/archive/${pkgver}.tar.gz";)
-sha256sums=('c18df2551ef72b9cb37a51dbd595509416b69e13830d6de8c547a621544e37a0')
+source=("git+https://github.com/leoafarias/${pkgname}.git#tag=${pkgver}";)
+sha256sums=('57aed2218bda21ae6f74c648673cd05de9f09c07c096b01809c816b946b07d15')
 options=('!strip' '!debug')
 
 prepare() {
-       cd "${pkgname}-${pkgver}/"
+       cd "${pkgname}/"
 
        # Disable analytics
        dart --disable-analytics
@@ -25,12 +25,12 @@ prepare() {
 }
 
 build() {
-       cd "${pkgname}-${pkgver}/"
+       cd "${pkgname}/"
        dart compile exe -o "bin/${pkgname}" bin/main.dart
 }
 
 package() {
-       cd "${pkgname}-${pkgver}/"
+       cd "${pkgname}/"
        install -Dm755 "bin/${pkgname}" -t "${pkgdir}/usr/bin/"
        install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/fvm/-/commit/d8164185d0a1d073663f324026b8d24a274d1fb7

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/fvm/-/commit/d8164185d0a1d073663f324026b8d24a274d1fb7
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to