diff options
author | fademind | 2018-04-17 08:10:47 +0200 |
---|---|---|
committer | fademind | 2018-04-17 08:10:47 +0200 |
commit | e0802edaae3456ebf7fb0d309291fbd4dcc8a948 (patch) | |
tree | d5c30186f911c3704422adf76e1a935cb9138a98 | |
parent | f5441c4dd67dc20ce912b0276faacc65fda2f2d2 (diff) | |
download | aur-e0802edaae3456ebf7fb0d309291fbd4dcc8a948.tar.gz |
update
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 67 |
2 files changed, 15 insertions, 70 deletions
@@ -1,25 +1,17 @@ # Generated by mksrcinfo v8 -# Thu Mar 22 13:48:17 UTC 2018 +# Tue Apr 17 06:10:47 UTC 2018 pkgbase = papirus-maia-icon-theme-git pkgdesc = Manjaro variation of Papirus icon theme (git version) - pkgver = 20180322.2ddbc103b + pkgver = 20180416.cad7b4e pkgrel = 1 - url = https://github.com/PapirusDevelopmentTeam/papirus-icon-theme + url = https://github.com/Ste74/papirus-maia-icon-theme arch = any license = LGPL3 - makedepends = git depends = gtk-update-icon-cache - conflicts = papirus-icon-theme - conflicts = papirus-icon-theme-git + depends = papirus-icon-theme-git conflicts = papirus-maia-icon-theme - conflicts = papirus-gtk-icon-theme - conflicts = papirus-gtk-icon-theme-git - conflicts = papirus-icon-theme-gtk - conflicts = papirus-icon-theme-gtk-git - conflicts = papirus-icon-theme-kde - conflicts = papirus-icon-theme-kde-git options = !strip - source = git+https://github.com/PapirusDevelopmentTeam/papirus-icon-theme.git + source = git+https://github.com/Ste74/papirus-maia-icon-theme.git sha256sums = SKIP pkgname = papirus-maia-icon-theme-git @@ -1,81 +1,34 @@ # Maintainer: FadeMind <fademind@gmail.com> # Contributor: Stefano Capitani <stefano@manjaro.org> -_pkgbase=papirus-icon-theme pkgname=papirus-maia-icon-theme-git -pkgver=20180322.2ddbc103b +pkgver=20180416.cad7b4e pkgrel=1 pkgdesc="Manjaro variation of Papirus icon theme (git version)" arch=('any') -url="https://github.com/PapirusDevelopmentTeam/papirus-icon-theme" +url="https://github.com/Ste74/papirus-maia-icon-theme" license=("LGPL3") -depends=('gtk-update-icon-cache') -makedepends=('git') +depends=('gtk-update-icon-cache' 'papirus-icon-theme-git') +conflicts=("${pkgname/-git/}") options=('!strip') -conflicts=( - "${_pkgbase}" - "${_pkgbase}-git" - "${pkgname/-git/}" - "papirus-gtk-icon-theme" - "papirus-gtk-icon-theme-git" - "papirus-icon-theme-gtk" - "papirus-icon-theme-gtk-git" - "papirus-icon-theme-kde" - "papirus-icon-theme-kde-git") source=("git+${url}.git") sha256sums=('SKIP') pkgver() { - cd ${_pkgbase} + cd ${pkgname/-git/} ( git show --format='%cI' -q master | sed 's/T.*//g;s/-//g' echo . git rev-parse --short master ) | tr -d '\n' } - prepare() { - cd ${_pkgbase} - -#Change color for Manjaro - -msg "Create Papirus-Maia: this next bit might take a little while..." - - find . -type f -name '*.*' -exec sed -i "s|#4877b1|#3c8d7d|Ig;\ - s|#5294e2|#16a085|Ig;\ - s|#1d344f|#266357|Ig;\ - s|#0096aa|#188694|Ig;\ - s|#00bcd4|#16a085|Ig" {} \; -msg "Done Manjarifications" - -#Change Icons folders name - sed -i -e 's/ePapirus Papirus Papirus-Adapta Papirus-Adapta-Nokto Papirus-Dark Papirus-Light/Papirus-Maia Papirus-Adapta-Maia Papirus-Adapta-Nokto-Maia Papirus-Dark-Maia Papirus-Light-Maia/g' Makefile - -#Remove unused icon theme - rm -R ePapirus - -#Change Folders name - mv Papirus Papirus-Maia - mv Papirus-Light Papirus-Light-Maia - mv Papirus-Dark Papirus-Dark-Maia - mv Papirus-Adapta Papirus-Adapta-Maia - mv Papirus-Adapta-Nokto Papirus-Adapta-Nokto-Maia - -#Change Theme name - find . -type f -name '*.theme' -exec sed -i '2s/$/-Maia/g' {} \; - find . -type f -name '*.theme' -exec sed -i '3s/$/ Maia/g' {} \; + cd ${pkgname/-git/} + rm LICENSE README.md recolor.sh } package() { - make -C "${_pkgbase}" DESTDIR="$pkgdir" install - -#Recreate all symlinks to match with Papirus tree - cd $pkgdir/usr/share/icons - mkdir -p Papirus - mkdir -p Papirus-Adapta - - for i in symbolic 64x64 48x48 32x32 24x24 22x22 16x16; do - ln -sr $pkgdir/usr/share/icons/Papirus-Maia/$i $pkgdir/usr/share/icons/Papirus/$i - ln -sr $pkgdir/usr/share/icons/Papirus-Adapta-Maia/$i $pkgdir/usr/share/icons/Papirus-Adapta/$i - done + cd ${pkgname/-git/} + mkdir -p ${pkgdir}/usr/share/icons + cp -R * ${pkgdir}/usr/share/icons/ } |