You are not logged in.
Pages: 1
I wanted to create a PKGBUILD for Beyond Compare (diff/merge tool), A .deb is provided, which simply needs to be converted to a .tar.gz and extracted to the root of the drive.
The 64-bit package is not really a 64-bit application. It just allows the application to run happily on a 64-bit OS.
The PKGBUILD (see bottom) generates the expected packages.
i686 namcap output:
beyond-compare W: Referenced library 'libqtc.so.1' is an uninstalled dependency
beyond-compare W: Dependency included and not needed ('lib32-qt')
beyond-compare E: Missing custom license directory (usr/share/licenses/beyond-compare)
x86_64 namcap output:
beyond-compare W: Referenced library 'libqtc.so.1' is an uninstalled dependency
beyond-compare W: Dependency included and not needed ('lib32-qt')
beyond-compare E: ELF file (usr/lib32/beyondcompare/BCompare) outside of a valid path.
beyond-compare E: ELF file (usr/lib32/beyondcompare/libqtc.so.1) outside of a valid path.
beyond-compare E: ELF file (usr/lib32/beyondcompare/libqt-mt.so.3) outside of a valid path.
beyond-compare E: Missing custom license directory (usr/share/licenses/beyond-compare)
With regard to the warnings:
'libqtc.so.1' is provided by the package itself (from the .deb).
If I remove the dependency on 'lib32-qt', namcap complains about missing dependences :)
'ldd /usr/bin/bcompare' returns "not a dynamic executable".
I'm happy to contribute this PKGBUILD (see below), but I'd like to make sure I've done things properly before I attempt that. Any advice anyone could offer would be greatly appreciated.
# Maintainer: Magician <magician21 ett lycos daht com>
pkgname=beyond-compare
pkgver=3.1.11.12238
pkgrel=1
pkgdesc="Beyond Compare Diff/Merge Tool"
arch=('i686' 'x86_64')
url="http://www.scootersoftware.com"
license=('custom')
depends=('lib32-qt' 'lib32-qt3' 'sh')
makedepends=()
optdepends=()
backup=()
if [ "${CARCH}" = 'x86_64' ]; then
ARCH='amd64'
source=("http://www.scootersoftware.com/bcompare-${pkgver}_amd64.deb")
noextract=("http://www.scootersoftware.com/bcompare-${pkgver}_amd64.deb")
md5sums=('ac629c7b1ce18bd7a043a81bce2626ef')
elif [ "${CARCH}" = 'i686' ]; then
ARCH='i386'
source=("http://www.scootersoftware.com/bcompare-${pkgver}_i386.deb")
noextract=("http://www.scootersoftware.com/bcompare-${pkgver}_i386.deb")
md5sums=('0459b3b905f4e1bf7d4235d4af0a33a8')
fi
build() {
if [ "${CARCH}" = 'x86_64' ]; then
FILE_BASE_NAME="bcompare-${pkgver}_amd64"
elif [ "${CARCH}" = 'i686' ]; then
FILE_BASE_NAME="bcompare-${pkgver}_i386"
fi
deb2targz $FILE_BASE_NAME.deb
tar -zxf $FILE_BASE_NAME.tar.gz
cp -r usr ${startdir}/pkg
}
Offline
Pages: 1