You are not logged in.
Hello everyone,
I am new to Arch Linux (use Manjaro KDE at the moment), but I am trying to build and upload a new package to AUR.
Tried it few times now with different errors. I have solved all, but now the last one doesn't let itself be solved.
I don't believe I have a split package. At least, I am new to this PKGBUILD thing, so I am not 100% sure.
My PKGBUILD file:
pkgname="aftershotpro2"
pkgver=2.0.3.25
pkgrel=4
pkgdesc="Professional Photo Workflow and RAW Conversion"
arch=('x86_64')
license=('custom')
depends=('libxdamage' 'glib2' 'pcre' 'libpng12' 'libgl' 'util-linux' 'freetype2' 'libsm' 'libxrender' 'fontconfig' 'bzip2' 'expat')
source=("http://dwnld.aftershotpro.com/updates/v2/2.0.3.25/AfterShotPro2_x86_64.rpm" LICENSE)
url="http://www.aftershotpro.com/en/products/aftershot-pro/default.html"
build() {
bsdtar xf AfterShotPro2_x86_64.rpm
mv ${srcdir}/opt ${pkgdir}/
install -d ${pkgdir}/usr/share
mv ${srcdir}/usr/bin ${pkgdir}/usr
mv ${srcdir}/usr/share/{applications,pixmaps} ${pkgdir}/usr/share/
install -d ${pkgdir}/usr/share/mime/packages/
mv ${srcdir}/usr/share/mime/packages/* ${pkgdir}/usr/share/mime/packages/
update-mime-database usr/share/mime
}
md5sums=('3cc1b354622669434c86ac4c74ab8816'
'f32fd199ee28182c6ea4f3a7d9d69c6c')Please help me out...
Regards Dennis
Last edited by dsw (2014-07-28 14:49:26)
Offline
There already is https://aur.archlinux.org/packages/aftershotpro/
When posting configs, code or command output, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode
like thisIt makes the code more readable and - in case of longer listings - more convenient to scroll through.
Offline
Hi Karol,
Ok I will use the Codetag (
dit is mijn code ) in future.
I know there already is a aftershot, but is is not up to date and wanted to upload the latest version.
Still: any Idea what the problem might be with my PKGBUILD?
Regards,
Dennis
Offline
The most obvious problem with that PKGBUILD is that there is no package function. It will not make a package.
Also, you can click 'edit' on your post to add the code tags to the initial post.
EDIT: Please do not submit a new package to the AUR simply because the current one is out of date. Flag it out of date, and encourage the maintainer to update it. If they don't, then request that it be orphaned and take over it. There are already far too many duplicate packages in the AUR because people just submit random new crap without ever trying to maintain what is already there.
EDIT2: I see your PKGBUILD is based on the current one - that one is broken too. So the last thing we need is to duplicate broken PKGBUILDs in the aur.
Last edited by Trilby (2014-07-28 14:33:48)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I know there already is a aftershot, but is is not up to date and wanted to upload the latest version.
Please don't do this. Contact the maintainer of the current package to help get it up to date, don't upload a new PKGBUILD for an application that is already in the AUR.
https://wiki.archlinux.org/index.php/AU … do_I_do.3F
Last edited by Slithery (2014-07-28 14:35:12)
Offline
I know there already is a aftershot, but is is not up to date and wanted to upload the latest version.
Don't do this, it will simply be removed as a duplicate.
The aftershot package hasn't even been flagged as out of date, so you obviously haven't done much to try to get that package updated.
As for what's wrong with your PKGBUILD, are you using mkaurball? If so, what does the .AURINFO file look like?
Edit, and for the record, just about everything about this PKGBUILD is wrong. Re-extracting the source, using mv, and calling update-mime-database are all wrong.
Last edited by Scimmia (2014-07-28 14:40:55)
Offline
@ all: ok I will not upload this PKGBUILD. No Worries. I did flag the current "aftershot" as old.
Can someone please link me to a guide for newbees on how to build a correct PKGBUILD?
Or does someone has an Example?
THanks it advance.
Regards Dennis
Offline
Read the wiki https://wiki.archlinux.org/index.php/PKGBUILD and the related articles.
Offline