summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhayao2021-07-21 06:54:52 +0000
committerhayao2021-07-21 06:54:52 +0000
commit303cb03b19d0deadf906c83199adde271678a25a (patch)
tree447ad90fa581bb49e80473ae66d77cf53e8a5acf
parent47e50b59e4b0fe39df096ddde06b999777fd65b7 (diff)
downloadaur-gnome-shell-extension-desktop-icons-ng.tar.gz
[update] : Update v0.20.0
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD86
2 files changed, 34 insertions, 60 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 465aec56a17..81cf7f4c5ef 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = gnome-shell-extension-desktop-icons-ng
pkgdesc = A fork from the official desktop icons project, with several enhancements like Drag'n'Drop.
- pkgver = 0.18.0
+ pkgver = 0.20.0
pkgrel = 1
url = https://extensions.gnome.org/extension/2087/desktop-icons-ng-ding/
arch = x86_64
@@ -11,8 +11,8 @@ pkgbase = gnome-shell-extension-desktop-icons-ng
makedepends = glib2
depends = gnome-shell
conflicts = gnome-shell-extension-desktop-icons-ng-git
- source = desktop-icons-ng-0.18.0.tar.gz::https://gitlab.com/rastersoft/desktop-icons-ng/-/archive/0.18.0/desktop-icons-ng-0.18.0.tar.gz
- sha256sums = da97d0b8127563f76a7a28743c1bab91a5a2f7da3b385eaf6b909ea5dfc7acb1
- sha512sums = 4f694f1deff30c12daf9a55f0dbdeec38ca5af62740fa2c6f11e4c36543053114d60000ed0017a6877d0847ad35ca7a386214d8777e90dd8c9dd39cb33e3bb1e
+ source = desktop-icons-ng-0.20.0.tar.gz::https://gitlab.com/rastersoft/desktop-icons-ng/-/archive/20/desktop-icons-ng-20.tar.gz
+ sha256sums = 88350594fc886b0afb5642b0b24a92e476b4745140feb310c21d07a5d783c23f
+ sha512sums = b827d3ea2726bb0c738650fef34f93c0786d4a5c48fb4dca97eae7d334035a7833779e0b3aa3a344f8cd0a738bdfec43dc83b4690daab6c47320172f92bc9f33
pkgname = gnome-shell-extension-desktop-icons-ng
diff --git a/PKGBUILD b/PKGBUILD
index cac49cf0894..aacf3466477 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,11 @@
# Maintainer: Yamada Hayao <hayao@fascode.net>
-# Change this value if you want to lower the version.
-_pkgver="18"
-#_pkgver="13"
+_pkgver="20"
_extname='desktop-icons-ng'
pkgname="gnome-shell-extension-${_extname}"
_uuid="ding@rastersoft.com"
pkgver="0.${_pkgver}.0"
-_latest="18"
pkgrel=1
pkgdesc="A fork from the official desktop icons project, with several enhancements like Drag'n'Drop."
arch=('x86_64' 'i686')
@@ -17,61 +14,38 @@ license=('GPL3')
depends=('gnome-shell')
makedepends=('git' 'meson' 'glib2')
conflicts=("${pkgname}-git")
-if [[ "${pkgver}" = "0.13.0" ]]; then
- source+=(
- "${_extname}-${pkgver}.tar.gz::https://gitlab.com/rastersoft/${_extname}/-/archive/${_pkgver}/${_extname}-${_pkgver}.tar.gz"
- #"${_extname}-${pkgver}.tar.gz::https://gitlab.com/rastersoft/desktop-icons-ng/-/archive/13/desktop-icons-ng-13.tar.gz"
- )
- sha256sums+=("SKIP")
- sha512sums+=("SKIP")
-elif [[ "${_pkgver}" = "${_latest}" ]]; then
- source+=(
- "${_extname}-${pkgver}.tar.gz::https://gitlab.com/rastersoft/${_extname}/-/archive/${pkgver}/${_extname}-${pkgver}.tar.gz"
- #${_extname}-${pkgver}.tar.gz::"https://gitlab.com/rastersoft/desktop-icons-ng/-/archive/0.18.0/desktop-icons-ng-0.18.0.tar.gz"
- )
- sha256sums+=(
- # desktop-icons-ng-0.18.0.tar.gz
- 'da97d0b8127563f76a7a28743c1bab91a5a2f7da3b385eaf6b909ea5dfc7acb1'
- )
- sha512sums+=(
- # desktop-icons-ng-0.18.0.tar.gz
- '4f694f1deff30c12daf9a55f0dbdeec38ca5af62740fa2c6f11e4c36543053114d60000ed0017a6877d0847ad35ca7a386214d8777e90dd8c9dd39cb33e3bb1e'
- )
-else
- source+=(
- "https://gitlab.com/rastersoft/${_extname}/-/archive/${pkgver}/${_extname}-${pkgver}.tar.gz"
- #"https://gitlab.com/rastersoft/desktop-icons-ng/-/archive/0.14.0/desktop-icons-ng-0.14.0.tar.gz"
- )
- sha256sums+=("SKIP")
- sha512sums+=("SKIP")
-fi
+source+=(
+ "${_extname}-${pkgver}.tar.gz::https://gitlab.com/rastersoft/${_extname}/-/archive/${_pkgver}/${_extname}-${_pkgver}.tar.gz"
+)
+sha256sums+=("88350594fc886b0afb5642b0b24a92e476b4745140feb310c21d07a5d783c23f")
+sha512sums+=("b827d3ea2726bb0c738650fef34f93c0786d4a5c48fb4dca97eae7d334035a7833779e0b3aa3a344f8cd0a738bdfec43dc83b4690daab6c47320172f92bc9f33")
package() {
- cd "${srcdir}"
-
- install -dm755 "${pkgdir}/usr/share/gnome-shell/extensions/${_uuid}"
-
- # taken from export-zip.sh
- if [[ -d "${_extname}-${_pkgver}" ]]; then
- local _repodir="${srcdir}/${_extname}-${_pkgver}"
- else
- local _repodir="${srcdir}/${_extname}-${pkgver}"
- fi
- local _build_dir="${_repodir}/builddir"
- local _local_prefix="${_repodir}/${_uuid}"
- local _extension_dir="${_local_prefix}/share/gnome-shell/extensions/${_uuid}"
- local _schemadir="${_local_prefix}/share/glib-2.0/schemas"
- meson --prefix="${_local_prefix}" --localedir=locale "${_build_dir}" "${_repodir}"
- ninja -C "${_build_dir}" install
-
- cd "${_local_prefix}"
- mkdir schemas
- cp "${_schemadir}"/*.xml schemas/
- glib-compile-schemas schemas/
- cp -r "${_extension_dir}"/* .
-
- cp -dpr --no-preserve=ownership {*.js,*.css,*.json,locale,schemas} "${pkgdir}/usr/share/gnome-shell/extensions/${_uuid}"
+ cd "${srcdir}"
+
+ install -dm755 "${pkgdir}/usr/share/gnome-shell/extensions/${_uuid}"
+
+ # taken from export-zip.sh
+ if [[ -d "${_extname}-${_pkgver}" ]]; then
+ local _repodir="${srcdir}/${_extname}-${_pkgver}"
+ else
+ local _repodir="${srcdir}/${_extname}-${pkgver}"
+ fi
+ local _build_dir="${_repodir}/builddir"
+ local _local_prefix="${_repodir}/${_uuid}"
+ local _extension_dir="${_local_prefix}/share/gnome-shell/extensions/${_uuid}"
+ local _schemadir="${_local_prefix}/share/glib-2.0/schemas"
+ meson --prefix="${_local_prefix}" --localedir=locale "${_build_dir}" "${_repodir}"
+ ninja -C "${_build_dir}" install
+
+ cd "${_local_prefix}"
+ mkdir schemas
+ cp "${_schemadir}"/*.xml schemas/
+ glib-compile-schemas schemas/
+ cp -r "${_extension_dir}"/* .
+
+ cp -dpr --no-preserve=ownership {*.js,*.css,*.json,locale,schemas} "${pkgdir}/usr/share/gnome-shell/extensions/${_uuid}"
}