summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Burgos2020-07-13 07:30:18 -0600
committerSam Burgos2020-07-13 07:30:18 -0600
commit924d86a790d33a4a4b45e03752664a063e0e16ad (patch)
treec5a5abed590b3b22b1447b8c436b188b2484c22f
parent7c4cdde36344ecb17c02fac3d6efc7cbb13b1a96 (diff)
downloadaur-924d86a790d33a4a4b45e03752664a063e0e16ad.tar.gz
updated to version 1.4
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD45
2 files changed, 45 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a6e46e7790d..e306f4597fe 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = gtkhash
pkgdesc = A GTK+ utility for computing message digests or checksums
- pkgver = 1.3
+ pkgver = 1.4
pkgrel = 1
url = https://github.com/tristanheaven/gtkhash
arch = i686
@@ -13,8 +13,8 @@ pkgbase = gtkhash
makedepends = librsvg
makedepends = nettle
makedepends = xdg-utils
- source = https://github.com/tristanheaven/gtkhash/releases/download/v1.3/gtkhash-1.3.tar.xz
- sha256sums = a94b12165bfa2ebec7270ce3bb8fb27da8a0624fb48ecfc0b68bcaf8c40db7af
+ source = https://github.com/tristanheaven/gtkhash/releases/download/v1.4/gtkhash-1.4.tar.xz
+ sha256sums = 20b57dbb8f6c6d7323f573c111a11640603a422c5f9da7b302a4981e4adc37c4
pkgname = gtkhash
depends = dconf
@@ -29,7 +29,7 @@ pkgname = gtkhash-caja
pkgname = gtkhash-nautilus
pkgdesc = A GTK+ utility for computing message digests or checksums (Nautilus filemanager plugin)
depends = gtkhash
- depends = nautilus
+ depends = libnautilus-extension
pkgname = gtkhash-nemo
pkgdesc = A GTK+ utility for computing message digests or checksums (Nemo filemanager plugin)
diff --git a/PKGBUILD b/PKGBUILD
index 8358657493b..606ac112b2e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,7 +13,7 @@ pkgname=(
gtkhash-peony
gtkhash-thunar
)
-pkgver=1.3
+pkgver=1.4
pkgrel=1
pkgdesc="A GTK+ utility for computing message digests or checksums"
arch=('i686' 'x86_64' 'mips64el')
@@ -30,13 +30,18 @@ makedepends=(
)
source=("${url}/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz")
-sha256sums=('a94b12165bfa2ebec7270ce3bb8fb27da8a0624fb48ecfc0b68bcaf8c40db7af')
+sha256sums=('20b57dbb8f6c6d7323f573c111a11640603a422c5f9da7b302a4981e4adc37c4')
build() {
cd gtkhash-$pkgver
#build with Caja support only
-if [[ $(xdg-mime query default inode/directory) = caja.desktop ]]; then
+if [[ $(xdg-mime query default inode/directory) = caja-folder-handler.desktop ]]; then
+
+makedepends+=(
+ 'caja'
+)
+
./configure \
--prefix=/usr \
--disable-schemas-compile \
@@ -49,6 +54,12 @@ if [[ $(xdg-mime query default inode/directory) = caja.desktop ]]; then
#build with Nautilus support only
elif [[ $(xdg-mime query default inode/directory) = nautilus.desktop ]]; then
+
+makedepends+=(
+ 'libnautilus-extension'
+)
+
+
./configure \
--prefix=/usr \
--disable-schemas-compile \
@@ -61,6 +72,12 @@ elif [[ $(xdg-mime query default inode/directory) = nautilus.desktop ]]; then
#build with Nemo support only
elif [[ $(xdg-mime query default inode/directory) = nemo.desktop ]]; then
+
+makedepends+=(
+ 'nemo'
+)
+
+
./configure \
--prefix=/usr \
--disable-schemas-compile \
@@ -73,6 +90,12 @@ elif [[ $(xdg-mime query default inode/directory) = nemo.desktop ]]; then
#build with Peony support only
elif [[ $(xdg-mime query default inode/directory) = peony.desktop ]]; then
+
+makedepends+=(
+ 'peony'
+)
+
+
./configure \
--prefix=/usr \
--disable-schemas-compile \
@@ -85,6 +108,12 @@ elif [[ $(xdg-mime query default inode/directory) = peony.desktop ]]; then
#build with Thunar support only
elif [[ $(xdg-mime query default inode/directory) = thunar.desktop ]]; then
+
+makedepends+=(
+ 'thunar'
+)
+
+
./configure \
--prefix=/usr \
--disable-schemas-compile \
@@ -97,6 +126,14 @@ elif [[ $(xdg-mime query default inode/directory) = thunar.desktop ]]; then
#build with all file manager support
else
+ makedepends+=(
+ 'caja'
+ 'libnautilus-extension'
+ 'nemo'
+ 'peony'
+ 'thunar'
+)
+
./configure \
--prefix=/usr \
--disable-schemas-compile \
@@ -149,7 +186,7 @@ package_gtkhash-nautilus() {
pkgdesc+=' (Nautilus filemanager plugin)'
depends=(
'gtkhash'
- 'nautilus'
+ 'libnautilus-extension'
)
make -C gtkhash-$pkgver/src/nautilus DESTDIR="$pkgdir/" install