summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbasigur2019-03-26 13:33:01 +0500
committerbasigur2019-03-26 13:33:01 +0500
commit4fe26c6e36be25981577423a0eebff4c118caab7 (patch)
treefd1744995d3770f860d8fb20b6b86829bf2f50df
parentc5e3e4eb94ba394787fe73659ffe399ec5a141be (diff)
downloadaur-4fe26c6e36be25981577423a0eebff4c118caab7.tar.gz
v2.27
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD30
2 files changed, 26 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4aab7270bfe7..dae6238119ed 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sun Mar 24 06:34:54 UTC 2019
+# Tue Mar 26 08:32:30 UTC 2019
pkgbase = neru-icon-classic-theme
pkgdesc = Classic theme icons Neru
- pkgver = 2.6
- pkgrel = 3
+ pkgver = 2.7
+ pkgrel = 1
url = https://github.com/chistota/neru-icon-classic-theme
arch = any
license = LGPL3
@@ -11,8 +11,8 @@ pkgbase = neru-icon-classic-theme
depends = librsvg
depends = hicolor-icon-theme
replaces = neru-icon-classic-theme
- source = https://github.com/chistota/neru-icon-classic-theme/archive/v2.6.tar.gz
- sha512sums = B6979D21766581FD82108BB20E2DD778BAD95801049DBBA5DD7F953323E5E3B666DE1B4D84F90E6088EBACFC0CFD64A1B04C9D690195358D8917AC23B7C47683
+ source = https://github.com/chistota/neru-icon-classic-theme/archive/v2.7.tar.gz
+ sha512sums = 5D3EF71C869DD6F63B010FE1E5BBA57018EA5310A7F707D7897319E5B2631C3D4BD12E4CFBCF77CD430CB6A887DFA41888C214EA26B29DD3A9E77991114B7A9B
pkgname = neru-icon-classic-theme
diff --git a/PKGBUILD b/PKGBUILD
index 9fafbc4d9105..bb0e48256440 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: basigur
pkgname=neru-icon-classic-theme
-pkgver=2.6
-pkgrel=3
+pkgver=2.7
+pkgrel=1
pkgdesc="Classic theme icons Neru"
arch=('any')
url="https://github.com/chistota/neru-icon-classic-theme"
@@ -11,14 +11,11 @@ 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=('B6979D21766581FD82108BB20E2DD778BAD95801049DBBA5DD7F953323E5E3B666DE1B4D84F90E6088EBACFC0CFD64A1B04C9D690195358D8917AC23B7C47683')
+sha512sums=('5D3EF71C869DD6F63B010FE1E5BBA57018EA5310A7F707D7897319E5B2631C3D4BD12E4CFBCF77CD430CB6A887DFA41888C214EA26B29DD3A9E77991114B7A9B')
-package() {
+prepare() {
cd "$srcdir"/"${pkgname}-${pkgver}"
- install -d "$pkgdir/usr/share/icons"
- install -d "$pkgdir/usr/share/doc/${pkgname}"
- install -d "$pkgdir/usr/share/licenses/${pkgname}"
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
@@ -44,8 +41,23 @@ package() {
gtk-update-icon-cache neru-classic-light-yellow/
gtk-update-icon-cache neru-classic-dark-yellow/
-cp -r {'neru-classic-light','neru-classic-dark','neru-classic-light-green','neru-classic-dark-green','neru-classic-light-yellow','neru-classic-dark-yellow'} "$pkgdir"/usr/share/icons/
+ 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} "$pkgdir"/usr/share/doc/"${pkgname}"/
+ cp -r {'README.md','AUTHORS','screenshot.svg','screenshot.png'} "$pkgdir"/usr/share/doc/"${pkgname}"/
}