summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederik Leonhardt2024-04-06 16:39:17 +1300
committerFrederik Leonhardt2024-04-06 16:40:40 +1300
commit225733820b79dd43a2f0178e231e72ce3718863a (patch)
tree5b4afb99de724e943ed4dc37e18a89717e0e6d3e
parent8943e2f2be0ddcc3363e1047026c88dfe9121892 (diff)
downloadaur-225733820b79dd43a2f0178e231e72ce3718863a.tar.gz
Fix invalid encoding in upstream file
-rw-r--r--.SRCINFO4
-rw-r--r--10246-1.set.xml.patch13
-rw-r--r--PKGBUILD13
3 files changed, 26 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8e4c5dda1d84..e470328352b6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = bluebrick-extras
pkgdesc = Extra parts for BlueBrick Lego Layout Planer
pkgver = 1.1
- pkgrel = 1
+ pkgrel = 2
url = https://bluebrick.lswproject.com
arch = any
license = GPL-3.0-only
@@ -14,6 +14,7 @@ pkgbase = bluebrick-extras
source = https://bluebrick.lswproject.com/download/package/Duplo.1.0.zip
source = https://bluebrick.lswproject.com/download/package/TrixBrix.1.7.0.zip
source = https://bluebrick.lswproject.com/download/package/BrickTracks.1.1.zip
+ source = 10246-1.set.xml.patch
sha256sums = 0602ab842f851594cd9e6d0b913a02fcdb2bc4265fb4471203b8a86692488a8f
sha256sums = cdd2ff12cb1974e76c5fc94f4826828b641dfe90132e4a831e77849e973ed645
sha256sums = b6b96342586907a0f787653ff01000ecfe9c8bff62de0cd5d169c0bb29a647e1
@@ -22,6 +23,7 @@ pkgbase = bluebrick-extras
sha256sums = 0b3029d9dfbe8602f77ef3845e5e27a9f145764301bcb1ae32202f139e44a6e8
sha256sums = b401b0307e651caaba1dd8ee86458f897c81404cda2c12bed1c9cba9cafd7856
sha256sums = e25ab99a02fcd6ae02828fc00e7bc8b00cedcb52778f25940da36fbfc269aac4
+ sha256sums = fbb7ad0a0bd5aa84f5cc2837b52035a9215bfea91e433f03420f9a8189dacc0f
pkgname = bluebrick-extras-official
pkgdesc = BlueBrick Lego Layout Planer - Official Extra Parts
diff --git a/10246-1.set.xml.patch b/10246-1.set.xml.patch
new file mode 100644
index 000000000000..e33d8c6e5dbf
--- /dev/null
+++ b/10246-1.set.xml.patch
@@ -0,0 +1,13 @@
+--- Town/10246-1.set.xml 2024-04-06 16:17:28.000000000 +1300
++++ Town/10246-1.set.xml 2024-04-06 16:26:37.791335300 +1300
+@@ -1,8 +1,8 @@
+-<?xml version="1.0"?>
++<?xml version="1.0" encoding="utf-8"?>
+ <part>
+ <Author>Thomas Hess (Rumpelmuck, scorpy63), LDD file by eurobricks member: Schlitter</Author>
+ <Description>
+- <de>Detektivbüro</de>
++ <de>Detektivbüro</de>
+ <en>Detective's Offioce</en>
+ </Description>
+ <SortingKey>City</SortingKey>
diff --git a/PKGBUILD b/PKGBUILD
index 5ca75c9a7b15..70a8bba6960f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@ pkgname=('bluebrick-extras-official'
'bluebrick-extras-thirdparty')
pkgbase=bluebrick-extras
pkgver=1.1
-pkgrel=1
+pkgrel=2
pkgdesc="Extra parts for BlueBrick Lego Layout Planer"
arch=('any')
url="https://bluebrick.lswproject.com"
@@ -16,7 +16,8 @@ source=("https://bluebrick.lswproject.com/download/package/Train.1.0.zip"
"https://bluebrick.lswproject.com/download/package/Castle.1.1.zip"
"https://bluebrick.lswproject.com/download/package/Duplo.1.0.zip"
"https://bluebrick.lswproject.com/download/package/TrixBrix.1.7.0.zip"
- "https://bluebrick.lswproject.com/download/package/BrickTracks.1.1.zip")
+ "https://bluebrick.lswproject.com/download/package/BrickTracks.1.1.zip"
+ "10246-1.set.xml.patch")
sha256sums=('0602ab842f851594cd9e6d0b913a02fcdb2bc4265fb4471203b8a86692488a8f'
'cdd2ff12cb1974e76c5fc94f4826828b641dfe90132e4a831e77849e973ed645'
'b6b96342586907a0f787653ff01000ecfe9c8bff62de0cd5d169c0bb29a647e1'
@@ -24,7 +25,13 @@ sha256sums=('0602ab842f851594cd9e6d0b913a02fcdb2bc4265fb4471203b8a86692488a8f'
'02d910a7f37760b6b6fb0be561c14284ef6734dcb26acb78520bc2896a00b286'
'0b3029d9dfbe8602f77ef3845e5e27a9f145764301bcb1ae32202f139e44a6e8'
'b401b0307e651caaba1dd8ee86458f897c81404cda2c12bed1c9cba9cafd7856'
- 'e25ab99a02fcd6ae02828fc00e7bc8b00cedcb52778f25940da36fbfc269aac4')
+ 'e25ab99a02fcd6ae02828fc00e7bc8b00cedcb52778f25940da36fbfc269aac4'
+ 'fbb7ad0a0bd5aa84f5cc2837b52035a9215bfea91e433f03420f9a8189dacc0f')
+
+prepare() {
+ # Fix encoding of file contents
+ patch --forward --strip=0 --input=10246-1.set.xml.patch
+}
package_bluebrick-extras-official() {
pkgdesc="BlueBrick Lego Layout Planer - Official Extra Parts"