You are not logged in.
This commercial software http://giowisys.com/products/symphytum/
is packaged only for ubuntu (.deb), I would love to use that on Archlinux.
Anyone who has experience and can package deb files to the AUR?
Thank you!
Offline
Try this. I didn't find any ready license info, so I just left that out for now.
pkgname=symphytum
pkgver=1.0
pkgrel=1
pkgdesc="Easy-to-use personal database software"
arch=('i686' 'x86_64')
url="http://giowisys.com/products/symphytum/"
depends=('glibc' 'qt')
if [[ "$CARCH" == "i686" ]]; then
_arch="x86"
_md5sum='c617d9cdf1dff9853f52ab20f5bbf4a5'
else
_arch="$CARCH"
_md5sum='e9fc8d58e37ab8168b5b121043559c59'
fi
source=("http://giowisys.com/files/symphytum/$pkgname-$pkgver-$_arch.deb")
md5sums=("$_md5sum")
package() {
cd "$srcdir"
tar -xf data.tar.gz -C "$pkgdir"
}
Last edited by Scimmia (2012-11-29 17:53:48)
Offline
Dropbox synchronization doesn't work for me. I get: "ImportError: No module named pkg_resources".
Also, it is missing license=('custom') and probably 'dropbox' should be added to Depends array
Offline
maybe a dependency problem?
http://stackoverflow.com/questions/1756 … de-of-pyth
setuptools or other python packages missing?
ps. python2 is also a dependency
Offline
Right. Needs python2-distribute too. With it, symphytum synchronizes just fine. So, depends=('glibc' 'qt' 'dropbox' 'python2-distribute') seems correct.
Just one more thing: it would be nice to have a license file in /usr/share/licenses/$pkgname/, since this software is not licensed under the considered as common licenses. My comment is based in the Arch Packagin Standards.
Offline
Ok now it works!
Thank you josephg and Scimmia
For the license thing, looking at spotify PKGBUILD:
license=('custom:"Copyright (c) 2006-2010 Spotify Ltd"')
so here
license=('custom:"Copyright (c) 2012 GIOWISYS Software UG"')
and in the package() part somewhere:
we need to copy that copyright notice in ${pkgdir}/usr/share/licenses/${pkgname}
Offline
AFAIK, that doesn't really cut it for the license. You should contact the company to get ahold of a copy of their EULA. If they don't have one, you're probably fine with just making a text file with that simple copyright notice.
Be aware that using a pre-compiled binary like this is a bit dangerous. If Arch does an soname bump of a library that it links to, it will stop working until it's recompiled for that update. They probably aren't going to recompile it until Ubuntu does the update.
One other change to make, it should use bsdtar to extract the archive instead of tar. bsdtar is part of libarchive, which is required by the pacman package, so it has to be there where tar could potentially be missing. The syntax won't change in this case, so just change tar to bsdtar and it's fine.
Offline
Hi,
Symphytum is now free and open source.
I made an AUR package: https://aur.archlinux.org/packages/symphytum/
project site: http://giowck.github.io/symphytum/
Offline