62 lines
2.7 KiB
Bash
62 lines
2.7 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=debugedit
|
|
pkgver=5.0
|
|
pkgrel=06
|
|
pkgdesc='Tool to mangle source locations in .debug files'
|
|
url='https://sourceware.org/debugedit/'
|
|
makedepends=(help2man)
|
|
depends=('libelf')
|
|
source=("https://sourceware.org/ftp/debugedit/${pkgver}/debugedit-${pkgver}.tar.xz"{,.sig}
|
|
"debugedit-use-elfstrptr.patch::https://sourceware.org/git/?p=debugedit.git;a=patch;h=7497274aed00c459a0d74bf171e1b11358b0210c"
|
|
"debugedit-support-debugstr.patch::https://sourceware.org/git/?p=debugedit.git;a=patch;h=3e7aeeab4f744ad15108775685db68d3a35b0735"
|
|
"debugedit-limit-write.patch::https://sourceware.org/git/?p=debugedit.git;a=patch;h=6dd28bb30320e5236b3b5f79b6b2b41d2b2317bd")
|
|
|
|
prepare() {
|
|
cd "debugedit-${pkgver}"
|
|
patch -Np1 < "$srcdir/debugedit-use-elfstrptr.patch"
|
|
patch -Np1 < "$srcdir/debugedit-support-debugstr.patch"
|
|
patch -Np1 < "$srcdir/debugedit-limit-write.patch"
|
|
autoreconf -fiv
|
|
|
|
}
|
|
|
|
build() {
|
|
cd "debugedit-${pkgver}"
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "debugedit-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=('GPL-3.0-or-later' 'GPL-2.0-or-later' 'LGPL-2.0-or-later')
|
|
|
|
validpgpkeys=('EC3CFE88F6CA0788774F5C1D1AA44BE649DE760A')
|
|
|
|
|
|
sha512sums=('7e7f529eafe41b53f0b5bfc58282fdbfa0dfa93ed7908b70e81942d6d2b6f80fc9c6bff2ed9674fd98947e5750b615f4c8b222544989e2900c5f8ff5ae0efb92'
|
|
'SKIP'
|
|
'8f56fc24fae6424d244508a29fb992a106ce91a4115a7429024db66fd9ef0d5e9a6ff5a473312ebb83726061193692cc56564b84c4b4bb553a6210a912fbf738'
|
|
'967da3adb66857a37056f8d0678d5fdc761704b74f6ca35d4631be1ee099683c2ea40cdd1a59f34eab3bbc33bb846009325403552519b3c300b76493f5c4dcf1'
|
|
'68b8d7388143da464a248b11555b08a708ea367b241317c622d76bd2b4b16473885d249ea9931af4ae438f6553beff7d9919c5ecd44fcbaf128b4d1f1bcdae82')
|
|
|
|
sha256sums=(e9ecd7d350bebae1f178ce6776ca19a648b6fe8fa22f5b3044b38d7899aa553e # debugedit-5.0.tar.xz
|
|
4fd8c44986d734196103ed2b630928949ed2ea48e0757c7a9e3d6f3b87cf00a7 # debugedit-5.0.tar.xz.sig
|
|
016464f7cbcb3b97ebeeecacbdaa8a871e5180d9cf1738f4c3860233ce6c063b # debugedit-use-elfstrptr.patch
|
|
6c25a9dfd0f27e468227805fe6a19b8054ee2563ed5971c0615aab8ae4705047 # debugedit-support-debugstr.patch
|
|
838c549c56820b4f1b6766fd88f0d01269374f994dd8924e507acd86658c0ec2) # debugedit-limit-write.patch
|
|
|
|
## 6e0d37d21e3cf52718018848f73d5382758a5bbf361ef0803d16ce8f418872c9 debugedit-5.0-06-x86_64.pkg.tar.lz
|
|
|