Andreas Schleifer pushed to branch main at Arch Linux / Packaging / Packages / 
ruby-trenni


Commits:
ebd53844 by Andreas Schleifer at 2024-11-18T21:17:57+01:00
upgpkg: 3.14.0-5; remove unreproducible files

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = ruby-trenni
        pkgdesc = A fast native templating system that compiles directly to 
Ruby code
        pkgver = 3.14.0
-       pkgrel = 4
+       pkgrel = 5
        url = https://github.com/ioquatix/trenni
        arch = x86_64
        license = MIT


=====================================
PKGBUILD
=====================================
@@ -2,7 +2,7 @@
 
 pkgname=ruby-trenni
 pkgver=3.14.0
-pkgrel=4
+pkgrel=5
 pkgdesc='A fast native templating system that compiles directly to Ruby code'
 arch=(x86_64)
 url='https://github.com/ioquatix/trenni'
@@ -44,18 +44,32 @@ build() {
     --install-dir "tmp_install/$_gemdir" \
     --bindir "tmp_install/usr/bin" \
     trenni-$pkgver.gem
-  find "tmp_install/$_gemdir/gems/" \
+
+  # remove unreproducible files
+  rm --force --recursive --verbose \
+    "tmp_install${_gemdir}/cache/" \
+    "tmp_install${_gemdir}/gems/${_gemname}-${pkgver}/vendor/" \
+    "tmp_install${_gemdir}/doc/${_gemname}-${pkgver}/ri/ext/"
+
+  find "tmp_install${_gemdir}/gems/" \
+    -type f \
+    \( \
+      -iname "*.o" -o \
+      -iname "*.c" -o \
+      -iname "*.so" -o \
+      -iname "*.time" -o \
+      -iname "gem.build_complete" -o \
+      -iname "Makefile" \
+    \) \
+    -delete
+
+  find "tmp_install${_gemdir}/extensions/" \
     -type f \
     \( \
-        -iname "*.o" -o \
-        -iname "*.c" -o \
-        -iname "*.so" -o \
-        -iname "*.time" -o \
-        -iname "gem.build_complete" -o \
-        -iname "Makefile" \
+      -iname "mkmf.log" -o \
+      -iname "gem_make.out" \
     \) \
     -delete
-  rm -r tmp_install/$_gemdir/cache
 }
 
 check() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/ruby-trenni/-/commit/ebd53844f5fc4b011a8621ca01a0ad6067f4f9e9

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


Reply via email to