diff options
author | KokaKiwi | 2023-04-29 23:12:40 +0200 |
---|---|---|
committer | KokaKiwi | 2023-04-29 23:12:40 +0200 |
commit | e69aa1ac718fc6f77c52696fb73b82fdd89f229e (patch) | |
tree | 281fb98f58e4cec88a3ea450dc56473f340d576b | |
parent | 1208a132665bcd0d6da636b25a6c956ef67766f7 (diff) | |
download | aur-e69aa1ac718fc6f77c52696fb73b82fdd89f229e.tar.gz |
upgpkg: imhex 1.28.0-3
- Install stuff using CMake
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 3 insertions, 15 deletions
@@ -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 @@ -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" |