Projekty/Wsparcie > POLAUR
FaenzaFlattr Plasma-Next
(1/1)
pavbaranov:
Poniżej PKGBUILD umożliwiający stworzenie paczki z ikonami faenzaflattr: http://kde-look.org/content/show.php/FaenzaFlattr?content=164770 dla Plasma-Next:
--- Kod: ---# Contributor: viperpaulo
# Maintainer: pavbaranov
pkgname=faenzaflattr-icon-theme
_pkgname=FaenzaFlattr
pkgver=1.2.8
pkgrel=1
pkgdesc="FaenzaFlattr icon theme for KDE4"
url="http://kde-look.org/content/show.php/FaenzaFlattr?content=164770"
license=('CCPL:by-nc-sa')
arch=('any')
depends=()
source=("${_pkgname}_${pkgver}.7z::https://drive.google.com/uc?export=download&id=0BwlW9hKxf1tUYlNOajVFdEtnN1k")
md5sums=('7adf9dcb039bdb3a4daf91555a3fde87')
options=(!strip)
package() {
install -d $pkgdir/usr/share/icons
install -Dm644 $srcdir/${_pkgname}/LICENSE.txt $pkgdir/usr/share/licenses/${_pkgname}/LICENSE
cp -r $srcdir/${_pkgname} $pkgdir/usr/share/icons/
cp -r $srcdir/${_pkgname}-Black $pkgdir/usr/share/icons/
cp -r $srcdir/${_pkgname}-DarkDecoration $pkgdir/usr/share/icons/
cp -r $srcdir/${_pkgname}-DarkPlasma $pkgdir/usr/share/icons/
cp -r $srcdir/${_pkgname}-Green $pkgdir/usr/share/icons/
cp -r $srcdir/${_pkgname}-Grey $pkgdir/usr/share/icons/
cp -r $srcdir/${_pkgname}-Hex $pkgdir/usr/share/icons/
rm $pkgdir/usr/share/icons/${_pkgname}/LICENSE.txt
find $pkgdir/usr -type f -exec chmod 644 {} \;
find $pkgdir/usr -type d -exec chmod 755 {} \;
find $pkgdir/usr -type f -name '.directory' -delete
}
--- Koniec kodu ---
pavbaranov:
FaenzaFlattr doczekała się wersji 2 ze "wstępnym wsparciem" (cokolwiek by to nie znaczyło) dla Plasma5.
Poniżej PKGBUILD tej wersji. Zaznaczam, że poprzednia wersja również mi się sprawdzała w Plasma5. Obecna, przy Plasma5 jest wyłącznie błękitną wersją tych ikon.
PKGBUILD
--- Kod: ---# Contributor: viperpaulo
# Maintainer: pavbaranov
pkgname=faenzaflattr-icon-theme
_pkgname=FaenzaFlattr2
pkgver=2
pkgrel=1
pkgdesc="FaenzaFlattr icon theme for KDE4"
url="http://kde-look.org/content/show.php/FaenzaFlattr?content=164770"
license=('CCPL:by-nc-sa')
arch=('any')
depends=()
source=("https://doc-00-1g-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/rak9lhj4kkkcvpq09sbp6kklf9jtu13d/1422777600000/06145706066490797577/*/0BwlW9hKxf1tUNE5fSEhYNE93czg?e=download")
#source=("${_pkgname}_${pkgver}.7z::https://drive.google.com/uc?export=download&id=0BwlW9hKxf1tUYlNOajVFdEtnN1k")
options=(!strip)
package() {
install -d $pkgdir/usr/share/icons
# install -Dm644 $srcdir/${_pkgname}/LICENSE.txt $pkgdir/usr/share/licenses/${_pkgname}/LICENSE
cp -r $srcdir/${_pkgname} $pkgdir/usr/share/icons/
# cp -r $srcdir/${_pkgname}-Black $pkgdir/usr/share/icons/
## cp -r $srcdir/${_pkgname}-DarkDecoration $pkgdir/usr/share/icons/
# cp -r $srcdir/${_pkgname}-DarkPlasma $pkgdir/usr/share/icons/
# cp -r $srcdir/${_pkgname}-Green $pkgdir/usr/share/icons/
# cp -r $srcdir/${_pkgname}-Grey $pkgdir/usr/share/icons/
# cp -r $srcdir/${_pkgname}-Hex $pkgdir/usr/share/icons/
# rm $pkgdir/usr/share/icons/${_pkgname}/LICENSE.txt
find $pkgdir/usr -type f -exec chmod 644 {} \;
find $pkgdir/usr -type d -exec chmod 755 {} \;
find $pkgdir/usr -type f -name '.directory' -delete
}
md5sums=('b1e07476e3ca72b56ddc405e143b4995')
--- Koniec kodu ---
pavbaranov:
Właśnie pojawiła się wersja 2.0.1, która do błękitnych ikon dodała też zielone oraz "DarkBreeze". PKGBUILD dla tej wersji wygląda tak:
--- Kod: ---# Contributor: viperpaulo
# Maintainer: pavbaranov
pkgname=faenzaflattr-icon-theme
_pkgname=FaenzaFlattr2
pkgver=2.0.1
pkgrel=1
pkgdesc="FaenzaFlattr icon theme for KDE4"
url="http://kde-look.org/content/show.php/FaenzaFlattr?content=164770"
license=('CCPL:by-nc-sa')
arch=('any')
depends=()
source=("https://doc-00-1g-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/g22o32o9usv2pasi5pm4rfq30041q7i3/1422806400000/06145706066490797577/*/0BwlW9hKxf1tUNE5fSEhYNE93czg?e=download")
options=(!strip)
package() {
install -d $pkgdir/usr/share/icons
# install -Dm644 $srcdir/${_pkgname}/LICENSE.txt $pkgdir/usr/share/licenses/${_pkgname}/LICENSE
cp -r $srcdir/${_pkgname} $pkgdir/usr/share/icons/
# cp -r $srcdir/${_pkgname}-Black $pkgdir/usr/share/icons/
## cp -r $srcdir/${_pkgname}-DarkDecoration $pkgdir/usr/share/icons/
# cp -r $srcdir/${_pkgname}-DarkPlasma $pkgdir/usr/share/icons/
cp -r $srcdir/${_pkgname}-Green $pkgdir/usr/share/icons/
cp -r $srcdir/${_pkgname}-DarkBreeze $pkgdir/usr/share/icons/
# cp -r $srcdir/${_pkgname}-Grey $pkgdir/usr/share/icons/
# cp -r $srcdir/${_pkgname}-Hex $pkgdir/usr/share/icons/
# rm $pkgdir/usr/share/icons/${_pkgname}/LICENSE.txt
find $pkgdir/usr -type f -exec chmod 644 {} \;
find $pkgdir/usr -type d -exec chmod 755 {} \;
find $pkgdir/usr -type f -name '.directory' -delete
}
md5sums=('93facce337043fd9227609a4e941b2a2')
--- Koniec kodu ---
pavbaranov:
FaenzaFlattr rozwija się systematycznie. Otrzymała nowe oznaczenie - obecnie to FaenzaFlattr2 oraz doczekała się wersji poprawkowej 2.0.2, w której dodano kolejne zestaw kolorystyczne: zielony i dla ciemnych dekoracji. http://kde-look.org/content/show.php/FaenzaFlattr?content=164770&PHPSESSID=8b0c0ec082125ac1760a55d67e7978f4
PKGBUILD
--- Kod: ---# Contributor: viperpaulo
# Maintainer: pavbaranov
pkgname=faenzaflattr-icon-theme
_pkgname=FaenzaFlattr2
pkgver=2.0.2
pkgrel=1
pkgdesc="FaenzaFlattr icon theme for KDE4"
url="http://kde-look.org/content/show.php/FaenzaFlattr?content=164770"
license=('CCPL:by-nc-sa')
arch=('any')
depends=()
source=("${_pkgname}_${pkgver}.7z::https://doc-00-1g-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/puoe9ebt3n4u7109i097eauu82s91dme/1423296000000/06145706066490797577/*/0BwlW9hKxf1tUNE5fSEhYNE93czg?e=download")
options=(!strip)
package() {
install -d $pkgdir/usr/share/icons
cp -r $srcdir/${_pkgname} $pkgdir/usr/share/icons/
cp -r $srcdir/${_pkgname}-DarkDeco $pkgdir/usr/share/icons/
cp -r $srcdir/${_pkgname}-Green $pkgdir/usr/share/icons/
cp -r $srcdir/${_pkgname}-DarkBreeze $pkgdir/usr/share/icons/
find $pkgdir/usr -type f -exec chmod 644 {} \;
find $pkgdir/usr -type d -exec chmod 755 {} \;
find $pkgdir/usr -type f -name '.directory' -delete
}
md5sums=('0dc5a3d293f83effc9f1f9af853627da')
--- Koniec kodu ---
Nawigacja
Idź do wersji pełnej