summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD12
-rw-r--r--qdiskinfo.desktop9
3 files changed, 7 insertions, 22 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1e02ed50fae1..4570198ff7a0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = qdiskinfo
pkgdesc = CrystalDiskInfo alternative for Linux
- pkgver = 0.2
+ pkgver = 0.3
pkgrel = 1
url = https://github.com/edisionnano/QDiskInfo
arch = x86_64
@@ -12,9 +12,7 @@ pkgbase = qdiskinfo
depends = smartmontools
depends = polkit
depends = hicolor-icon-theme
- source = qdiskinfo-0.2.tar.gz::https://github.com/edisionnano/QDiskInfo/archive/refs/tags/0.2.tar.gz
- source = qdiskinfo.desktop
- sha256sums = e4c0d352c75ca0dd8f152b09e17c7542aebd1d320e5fee8e9bd8c35cb1d3cbb2
- sha256sums = 4754bf3c5c718723ed47a06772134a393a8b8996eeb3ee75c2711811d140ff8a
+ source = qdiskinfo-0.3.tar.gz::https://github.com/edisionnano/QDiskInfo/archive/refs/tags/0.3.tar.gz
+ sha256sums = f9829a488ff08395e14f953d41a85dac9c91714fdd34bc9a76a46fe761511209
pkgname = qdiskinfo
diff --git a/PKGBUILD b/PKGBUILD
index ff43e53d1c4a..d57da8122603 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,18 +1,16 @@
# Maintainer: lpt <aur AT lucapetrucci DOT net>
pkgname="qdiskinfo"
_pkgname="QDiskInfo"
-pkgver="0.2"
+pkgver="0.3"
pkgrel="1"
pkgdesc="CrystalDiskInfo alternative for Linux"
url="https://github.com/edisionnano/QDiskInfo"
license=("GPL-3.0-only")
source=(
"$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz"
- "qdiskinfo.desktop"
)
sha256sums=(
- "e4c0d352c75ca0dd8f152b09e17c7542aebd1d320e5fee8e9bd8c35cb1d3cbb2"
- "4754bf3c5c718723ed47a06772134a393a8b8996eeb3ee75c2711811d140ff8a"
+ "f9829a488ff08395e14f953d41a85dac9c91714fdd34bc9a76a46fe761511209"
)
arch=("x86_64")
depends=(
@@ -29,7 +27,7 @@ makedepends=(
prepare () {
cd "$_pkgname-$pkgver"
- convert -background none -size 48x48 src/icon.svg "$srcdir/qdiskinfo-48x48.png"
+ convert -background none -size 48x48 dist/QDiskInfo.svg "$srcdir/QDiskInfo-48x48.png"
}
build () {
@@ -47,7 +45,5 @@ build () {
package () {
cd "$_pkgname-$pkgver"
DESTDIR="$pkgdir" cmake --build builddir --target install
- install -Dm0644 src/icon.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/qdiskinfo.svg"
- install -Dm0644 "$srcdir/qdiskinfo-48x48.png" "$pkgdir/usr/share/icons/hicolor/48x48/apps/qdiskinfo.png"
- install -Dm0644 "$srcdir/qdiskinfo.desktop" "$pkgdir/usr/share/applications/qdiskinfo.desktop"
+ install -Dm0644 "$srcdir/QDiskInfo-48x48.png" "$pkgdir/usr/share/icons/hicolor/48x48/apps/QDiskInfo.png"
}
diff --git a/qdiskinfo.desktop b/qdiskinfo.desktop
deleted file mode 100644
index 591a816b2eb1..000000000000
--- a/qdiskinfo.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=QDiskInfo
-Version=1.0
-Exec=QDiskInfo
-Type=Application
-Comment=S.M.A.R.T. utility for reading and monitoring disk drive status
-Icon=qdiskinfo
-Terminal=false
-Categories=System;Qt