You are not logged in.

#1 2022-03-21 11:56:17

ArMor007
Member
Registered: 2020-11-15
Posts: 11

[SOLVED] makepkg changes file

I have created this PKGBUILD for my new AUR package at https://aur.archlinux.org/packages/catapult-bin

The issue is that the installed package doesn't work, makepkg seems to change the main executable file and checking with diff it tells me the two files differ.

Here's my PKGBUILD for reference:

# Maintainer: Aria Moradi <aria.moradi007 at gmail dot com>

pkgname=catapult-bin
pkgver=22.03b
pkgrel=1
pkgdesc="A cross-platform launcher for Cataclysm: DDA and BN"
arch=("x86_64")
url="https://github.com/qrrk/Catapult"
license=("MIT")
depends=()
provides=("catapult")
source=("$pkgname-$pkgver::$url/releases/download/$pkgver/catapult-linux-x64-$pkgver"
	"catapult.sh")
sha256sums=('SKIP'
	    '72f7e507fc2081b2c7b51e389f3dd07c35954ec3576021bd7a11b6e35fc80d63')

noextract=("$pkgname-$pkgver")

package() {
    install -Dm755 "${srcdir}/$pkgname-$pkgver"  "${pkgdir}/opt/${pkgname}/catapult"
    install -Dm755 "${srcdir}/catapult.sh"  "${pkgdir}/usr/bin/catapult"
}

Last edited by ArMor007 (2022-03-21 12:15:07)

Offline

#2 2022-03-21 12:05:03

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,650
Website

Re: [SOLVED] makepkg changes file

Need to add options=('!strip')  I guess...

Offline

#3 2022-03-21 12:09:41

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,845

Re: [SOLVED] makepkg changes file

That can happen if you have custom settings in makepkg.conf .

Please add --log to the makepkg command and post the content of the logfiles that creates.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#4 2022-03-21 12:14:26

ArMor007
Member
Registered: 2020-11-15
Posts: 11

Re: [SOLVED] makepkg changes file

Allan wrote:

Need to add options=('!strip')  I guess...

That fixed the issue.

Offline

Board footer

Powered by FluxBB