summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhayao2020-09-22 11:52:38 +0900
committerhayao2020-09-22 11:52:38 +0900
commit19916eff1d2417e46977bb43bbc5ef27730c8c3a (patch)
tree703b24d7f1a350f2f50b739a13b89b2087a6b875
parentf2b382dbd42077df6c385eba1d356c0bd90c8284 (diff)
downloadaur-19916eff1d2417e46977bb43bbc5ef27730c8c3a.tar.gz
[update] : 0.13.0
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
2 files changed, 10 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ffcb087a3e3..a2e9d519ded 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.12.0
+ pkgver = 0.13.0
pkgrel = 1
url = https://extensions.gnome.org/extension/2087/desktop-icons-ng-ding/
arch = x86_64
@@ -11,7 +11,7 @@ pkgbase = gnome-shell-extension-desktop-icons-ng
makedepends = glib2
depends = gnome-shell
conflicts = gnome-shell-extension-desktop-icons-ng-git
- source = https://gitlab.com/rastersoft/desktop-icons-ng/-/archive/0.12.0/desktop-icons-ng-0.12.0.tar.gz
+ source = https://gitlab.com/rastersoft/desktop-icons-ng/-/archive/13/desktop-icons-ng-0.13.0.tar.gz
sha256sums = SKIP
pkgname = gnome-shell-extension-desktop-icons-ng
diff --git a/PKGBUILD b/PKGBUILD
index 765df0c6e95..81a3d2ee712 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,9 @@ _extname='desktop-icons-ng'
_uuid="ding@rastersoft.com"
pkgname="gnome-shell-extension-${_extname}"
-pkgver='0.12.0'
+_pkgver="13"
+pkgver="0.${_pkgver}.0"
+
pkgrel=1
pkgdesc="A fork from the official desktop icons project, with several enhancements like Drag'n'Drop."
arch=('x86_64' 'i686')
@@ -14,7 +16,7 @@ license=('GPL3')
depends=('gnome-shell')
makedepends=('git' 'meson' 'glib2')
conflicts=("${pkgname}-git")
-source=("https://gitlab.com/rastersoft/${_extname}/-/archive/${pkgver}/${_extname}-${pkgver}.tar.gz")
+source=("https://gitlab.com/rastersoft/${_extname}/-/archive/${_pkgver}/${_extname}-${pkgver}.tar.gz")
sha256sums=('SKIP')
package() {
@@ -23,13 +25,16 @@ package() {
install -dm755 "${pkgdir}/usr/share/gnome-shell/extensions/${_uuid}"
+
+ # Prepare _repodir
+ mv "$( ls "${srcdir}" | grep "${_extname}-${_pkgver}" )" "${srcdir}/${_extname}-${pkgver}"
+
# taken from export-zip.sh
local _repodir="${srcdir}/${_extname}-${pkgver}"
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