blob: bb0e482564403eb7ee0a92b314c9bde23577abc6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# Maintainer: basigur
pkgname=neru-icon-classic-theme
pkgver=2.7
pkgrel=1
pkgdesc="Classic theme icons Neru"
arch=('any')
url="https://github.com/chistota/neru-icon-classic-theme"
license=('LGPL3')
depends=('gtk-update-icon-cache' 'librsvg' 'hicolor-icon-theme')
replaces=('neru-icon-classic-theme')
conflicts=()
source=("https://github.com/chistota/"${pkgname}"/archive/v"${pkgver}".tar.gz")
sha512sums=('5D3EF71C869DD6F63B010FE1E5BBA57018EA5310A7F707D7897319E5B2631C3D4BD12E4CFBCF77CD430CB6A887DFA41888C214EA26B29DD3A9E77991114B7A9B')
prepare() {
cd "$srcdir"/"${pkgname}-${pkgver}"
ln -s document-viewer.svg neru-classic-light/32x32/apps/graphics-viewer-document.svg
ln -s document-viewer.svg neru-classic-light/32x32/apps/org.gnome.Evince.svg
ln -s document-viewer.svg neru-classic-light/32x32/apps/xpdf9.svg
ln -s document-viewer.svg neru-classic-light/32x32/apps/accessories-document-viewer.svg
ln -s qv4l2.svg neru-classic-light/32x32/apps/qvidcap.svg
ln -s usb-creator.svg neru-classic-light/32x32/apps/mintstick.svg
ln -s filelight.svg neru-classic-light/32x32/apps/org.gnome.DiskUtility.svg
ln -s ark.svg neru-classic-light/32x32/apps/org.gnome.ArchiveManager.svg
ln -s preferences-system-privacy.svg neru-classic-light/32x32/apps/org.gnome.seahorse.Application.svg
ln -s applications-fonts.svg neru-classic-light/32x32/apps/org.gnome.font-viewer.svg
ln -s edit-find.svg neru-classic-light/32x32/apps/gtk-find.svg
ln -s applications-multimedia.svg neru-classic-light/32x32/apps/gmtpicon.svg
ln -s fontforge.svg neru-classic-light/32x32/apps/org.fontforge.FontForge.svg
gtk-update-icon-cache neru-classic-light/
gtk-update-icon-cache neru-classic-dark/
gtk-update-icon-cache neru-classic-light-green/
gtk-update-icon-cache neru-classic-dark-green/
gtk-update-icon-cache neru-classic-light-yellow/
gtk-update-icon-cache neru-classic-dark-yellow/
gtk-update-icon-cache neru-classic-light-gray/
gtk-update-icon-cache neru-classic-dark-gray/
gtk-update-icon-cache neru-classic-light-red/
gtk-update-icon-cache neru-classic-dark-red/
}
package() {
cd "$srcdir"/"${pkgname}-${pkgver}"
install -d "$pkgdir/usr/share/icons"
install -d "$pkgdir/usr/share/doc/${pkgname}"
install -d "$pkgdir/usr/share/licenses/${pkgname}"
cp -r neru-classic-* "$pkgdir"/usr/share/icons/
cp -r LICENSE "$pkgdir"/usr/share/licenses/"${pkgname}"/
cp -r {'README.md','AUTHORS','screenshot.svg','screenshot.png'} "$pkgdir"/usr/share/doc/"${pkgname}"/
}
|