summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAnarky2020-04-19 20:08:35 +0200
committerAnarky2020-04-19 20:08:35 +0200
commit78a50d6fcad99b8865c72075dc7cbd1f3da88575 (patch)
tree21a10d0e281133c533ec3a6b47a4f6120e251e5c /PKGBUILD
parent0d0da6ce06e2a495626f5373c5c5b1e3ece86657 (diff)
downloadaur-78a50d6fcad99b8865c72075dc7cbd1f3da88575.tar.gz
Fix malformed svg
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b75e67b1c41..171ab44c1cf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=yltra-flat-icons
pkgver=2.5
-pkgrel=2
+pkgrel=3
pkgdesc='A simple flat icon theme, derived from Ultra Flat icons'
arch=('any')
url='https://github.com/kimifetch/yltra-flat-icon-theme'
@@ -9,8 +9,10 @@ makedepends=('git')
provides=("${pkgname}")
conflicts=("${pkgname}")
options=(!strip !emptydirs)
-source=("git+${url}.git")
-md5sums=('SKIP')
+source=("git+${url}.git"
+ 'fix-malformed-svg.patch')
+md5sums=('SKIP'
+ '7d6ff90bc8e816a79ecb2d8014723ea4')
package() {
# Create base directory
@@ -19,6 +21,11 @@ package() {
local _themefolder=$(basename ${url})
local _themename="Yltra Flat"
+ # Fix malformed svg
+ cd "${srcdir}"/$_themefolder
+ patch -p1 -s -i ../fix-malformed-svg.patch
+ cd ..
+
# Copy folders without spaces in the filename
find "${srcdir}"/$_themefolder -mindepth 1 -prune -type d ! -name .git -print0 | \
while read -d $'\0' f; do