diff options
author | Anarky | 2020-04-19 20:08:35 +0200 |
---|---|---|
committer | Anarky | 2020-04-19 20:08:35 +0200 |
commit | 78a50d6fcad99b8865c72075dc7cbd1f3da88575 (patch) | |
tree | 21a10d0e281133c533ec3a6b47a4f6120e251e5c /PKGBUILD | |
parent | 0d0da6ce06e2a495626f5373c5c5b1e3ece86657 (diff) | |
download | aur-yltra-flat-icons.tar.gz |
Fix malformed svg
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -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 |