at the top, next to "forum" theres a nice friendly link to "packages"

how does one submit an addition to those? (from what i understand, obarun is new, so if theres no way to do that, it alright.)

the package in question is written in python and is not very large. i have not created a package for pacman (pacopts?) before, but it cant be worse than creating a .deb package...
eric wroteProvide your .deb package and i will see if i can convert it to PKGBUILD which is the format on Arch
the .deb is here: http://distro.ibiblio.org/refracta/files/extra_packages/fig29-31_1.0.deb

the only *essential* part of which is fig29.py in /usr/bin (if you prefer, /usr/local/bin) ...if its cool to have stuff like the pdf manual in there great, i wont care if you remove it.

but ive already tried it on obarun: https://i.imgur.com/vUaI6YV.png

and the one thing fig29.py needs to work there is this command:
sed -i 's/env\ python/env\ python2/g' fig29.py
the other files should not need that modification. fig29.py is the version that is most important; the other is optional.

sorry, no one told me about obarun until recently, and it sounded new-- but it does look mature enough.

the fact that i use arch-based stuff less than 10% of the time i use other distro families has got to be part of it.
@ figosdev
some componments are missing to be able to write the PKGBUILD
url= address to find the description/information of the soft
sources= address to the source code (tar.gz or git)
sorry-- sources for fig29 are here:

https://archive.org/download/Puppy_Linux_Refractapup

(though it has to be said that fig29.py *is* the source to fig29.py)

for the other code: https://sourceforge.net/p/figos/code/ci/master/tree/

but to be honest, fig29 is the only vital part. so if the fact that one url contains fig29.py and the other does not is a problem, just kill the rest of the code that isnt fig29.py

alternatively, this might make it all work:


url= https://sourceforge.net/projects/figos/files/?source=navbar
sources= https://archive.org/download/Puppy_Linux_Refractapup


the problem is that none of this was made with arch packaging as a guide. if theres a better way to make this fit, let me know. familiarity really would help a lot here-- we are talking about convention.

will these lines work? and are there other vital metadata we cant leave n/a? i really do get the concept of metadata, though what really counts is sometimes different things to different people.
the url is ok for me but the sources is not. I need an address where i can find something like the .deb package but with .tar.gz/xz/zip/.. as format or a git address. Your source only provide the fig29.py script but i doesn't have the e.g. pixmaps or documentation and so on.

This is a speudo PKGBUILD(not correct yet)
pkgname=fig
pkgver=1.0
pkgrel=1
pkgdesc='Educational programming language'
url='https://sourceforge.net/projects/figos/files/?source=navbar'
arch=(x86_64)
license=('unknow')
depends=('python')
makedepends=()
md5sums=('ce78ea854cd76fd0f6e0c8974ed0dafc')
source=("https://archive.org/download/Puppy_Linux_Refractapup/fig29.py")

prepare() {
	cd "$pkgname"
	
	sed -i 's/env\ python/env\ python2/g' "${srcdir}"/fig29.py
}
package() {

	cd "$pkgname"
	
	# binary
	install -Dm 0755  "${srcdir}"/usr/bin/fig29.py "${pkgdir}"/usr/bin/fig29.py
	install -Dm 0755  "${srcdir}"/usr/bin/fig31.py "${pkgdir}"/usr/bin/fig31.py
	
	# desktop file
	install -Dm 0755 "${srcdir}"/usr/share/applications/fig31.desktop "${pkgdir}"/usr/share/applications/fig31.desktop
	
	# documentation
	install -dm 0755 "${pkgdir}"/usr/share/doc/fig
	cp -a "${srcdir}"/usr/share/doc/fig "${pkgdir}"/usr/share/doc/fig
	
	# pixmaps
	install -Dm 0755 "${srcdir}"/usr/share/pixmaps/fig31.png "${pkgdir}"/usr/share/pixmaps/fig31.png
}
EDIT: OH NO, THERE IS A PIXMAP isnt there? *sigh* it was added by someone else (its my own work) for the stupid debian menu. the stupid, stupid, stupid debian menu! please remove the pixmap, i wish id never created it and i didnt add it to the package originally.

im sorry eric, thank you so much for your help this is the trouble though:

"the url is ok for me but the sources is not. I need an address where i can find something like the .deb package but with .tar.gz/xz/zip/.. as format or a git address. Your source only provide the fig29.py script but i doesn't have the e.g. pixmaps or documentation and so on."

this might get chalked up to miscommunication. i dont know if youre saying that you need sources for the pdf or not, but if so you can remove it.

im not trying to include the .deb file itself, only the contents-- and of those contents, just the fig29.py file is enough for me.

pixmaps-- there arent any. pdf manual? optional-- . other files? completely incidental. but most importantly this: other than the pdf which you can remove, all other files should be either plaintext or sourced at one of the two urls i gave you. this should cover sourcecode, attribution and licensing (its all cc0. it even says so.) so apart from the pdf which we dont need to include, i honestly dont know what ive failed to include here.

for simplicity i recommend removing any contents that are not already compliant-- so long as fig29.py remains the rest is optional.

if the issue is that i linked you to a .deb that was my fault, i wanted to show this is already in refracta. i wasnt looking for the .deb to be packaged, just the contents to be repackaged. since i dont know how easy it is to unpack a .deb file without debian (i use dpkg-deb to unzip) how about just fig29.py then? python2 is the only depend, pygame is an optdepend--

i am confused as to what exactly im leaving out; there is documentation in the pdf, as well as in one of the plaintext scripts, as well as the sourceforge url, and the sourceforge site even has a support forum.

the biggest problem here is that everything seems to me to be freely licensed, source-available, and attributed-- but when you say "no" i still dont know what you mean by that.

what can i add to or take away from this package that will stop the urls from being a problem? i just want to simplify this and have the necessary parts go through.
for simplicity i recommend removing any contents that are not already compliant-- so long as fig29.py remains the rest is optional.
In this case use the following PKGBUILD
pkgname=fig
pkgver=29
pkgrel=1
pkgdesc='Educational programming language'
url='https://sourceforge.net/projects/figos/files/?source=navbar'
arch=(x86_64)
license=('Creative Common')
depends=('python2')
makedepends=('python2-pygame')
md5sums=('ce78ea854cd76fd0f6e0c8974ed0dafc')
source=("https://archive.org/download/Puppy_Linux_Refractapup/fig29.py")

prepare() {
	
	cd "${srcdir}"
	
	sed -i 's/env\ python/env\ python2/g' "${srcdir}"/fig29.py
}
package() {
	cd "${srcdir}"
	
	# binary
	install -Dm 0755  fig29.py "${pkgdir}"/usr/bin/fig29.py
}

Powered by Obarun