summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAnarky2020-04-13 21:36:51 +0200
committerAnarky2020-04-13 21:36:51 +0200
commit0d0da6ce06e2a495626f5373c5c5b1e3ece86657 (patch)
treea3e597368eacf9c0582e9718d095e76a81aa03a7 /PKGBUILD
parent9e47b4e41db06b23b0d2e308fab2261e675a9127 (diff)
downloadaur-0d0da6ce06e2a495626f5373c5c5b1e3ece86657.tar.gz
Add "conflicts", small optimisations
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5fd941e8a88..b75e67b1c41 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,15 @@
pkgname=yltra-flat-icons
pkgver=2.5
-pkgrel=1
+pkgrel=2
pkgdesc='A simple flat icon theme, derived from Ultra Flat icons'
arch=('any')
url='https://github.com/kimifetch/yltra-flat-icon-theme'
license=('CCPL:cc-by-nc-sa-4.0')
makedepends=('git')
provides=("${pkgname}")
+conflicts=("${pkgname}")
options=(!strip !emptydirs)
-source=('git+https://github.com/kimifetch/yltra-flat-icon-theme.git')
+source=("git+${url}.git")
md5sums=('SKIP')
package() {
@@ -48,7 +49,6 @@ package() {
find "${pkgdir}" \( -name CREDITS -o -name "*.txt" \) -exec rm {} \;
# License
- install -d -m 755 "${pkgdir}"/usr/share/licenses/${pkgname}
- cp "${srcdir}"/$_themefolder/"$_themename"/LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
- cp "${srcdir}"/$_themefolder/"$_themename"/CREDITS "${pkgdir}"/usr/share/licenses/${pkgname}
+ install -Dm644 "${srcdir}"/$_themefolder/"$_themename"/LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+ install -m644 "${srcdir}"/$_themefolder/"$_themename"/CREDITS "${pkgdir}"/usr/share/licenses/${pkgname}
}