From 64434b30b8d49ef01d5fc0d19ad34fee03d2e4ac Mon Sep 17 00:00:00 2001
From: Adam Thorn <alt36@cam.ac.uk>
Date: Fri, 17 Jan 2025 10:07:34 +0000
Subject: [PATCH] add strawberryperl

---
 packages/strawberryperl.xml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100755 packages/strawberryperl.xml

diff --git a/packages/strawberryperl.xml b/packages/strawberryperl.xml
new file mode 100755
index 00000000..fc99a95a
--- /dev/null
+++ b/packages/strawberryperl.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<packages:packages xmlns:packages="http://www.wpkg.org/packages">
+
+  <package id="strawberryperl" name="Strawberry Perl" revision="%version%.1" priority="0" reboot="false">
+    <variable name="version" value="5.40.0.1" />
+    <!-- grr, version in the filename differs from the one shown in add/remove programs -->
+    <variable name="displayversion" value="5.40.1" />
+
+    <check type="uninstall" condition="versiongreaterorequal" path="Strawberry Perl (64-bit)" value="%displayversion%" />
+
+    <install cmd='msiexec /i "%WPKGSOFTWARE%\strawberryperl\strawberry-perl-%VERSION%-64bit.msi" /qn' />
+
+    <upgrade include='install' />
+
+    <remove cmd='msiexec /qn /x {6E17823E-7849-1014-9A51-F359819898C5}' />
+  </package>
+
+</packages:packages>
-- 
GitLab