summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKokaKiwi2023-04-29 23:12:40 +0200
committerKokaKiwi2023-04-29 23:12:40 +0200
commite69aa1ac718fc6f77c52696fb73b82fdd89f229e (patch)
tree281fb98f58e4cec88a3ea450dc56473f340d576b
parent1208a132665bcd0d6da636b25a6c956ef67766f7 (diff)
downloadaur-e69aa1ac718fc6f77c52696fb73b82fdd89f229e.tar.gz
upgpkg: imhex 1.28.0-3
- Install stuff using CMake
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD16
2 files changed, 3 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 97f029e6a773..188a5bd42ecf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = imhex
pkgdesc = A Hex Editor for Reverse Engineers, Programmers and people that value their eye sight when working at 3 AM
pkgver = 1.28.0
- pkgrel = 2
+ pkgrel = 3
url = https://imhex.werwolv.net
arch = x86_64
license = GPL2
diff --git a/PKGBUILD b/PKGBUILD
index 24c0f81a8802..eaac304bc60d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
_pkgname=ImHex
pkgname=${_pkgname,,}
pkgver=1.28.0
-pkgrel=2
+pkgrel=3
pkgdesc='A Hex Editor for Reverse Engineers, Programmers and people that value their eye sight when working at 3 AM'
url='https://imhex.werwolv.net'
license=('GPL2')
@@ -104,15 +104,7 @@ build() {
}
package() {
- # Executable
- install -Dm0755 build/imhex "$pkgdir/usr/bin/imhex"
-
- # Shared lib and plugins
- install -Dm0755 -t "$pkgdir/usr/lib" build/lib/libimhex/libimhex.so
-
- for plugin in builtin; do
- install -Dm0755 -t "$pkgdir/usr/lib/imhex/plugins" "build/plugins/$plugin.hexplug"
- done
+ DESTDIR="$pkgdir" cmake --install build
# Patterns
install -dm0755 "$pkgdir/usr/share/imhex"
@@ -120,7 +112,6 @@ package() {
"$srcdir/imhex-patterns"/{constants,encodings,includes,magic,patterns,themes,tips}
# Desktop file(s)
- install -Dm0644 -t "$pkgdir/usr/share/applications" "$pkgname/dist/imhex.desktop"
install -Dm0644 "$pkgname/resources/icon.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/imhex.svg"
for size in 32 48 64 128 256; do
install -dm0755 "$pkgdir/usr/share/icons/hicolor/${size}x${size}/apps"
@@ -128,9 +119,6 @@ package() {
"$pkgname/resources/icon.svg"
done
- # License
- install -Dm0644 "$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
# Documentation
install -Dm0644 -t "$pkgdir/usr/share/doc/$pkgname" \
"$pkgname/README.md"