You are not logged in.
Pages: 1
# Contributor: David Lindsay <dav7@dav7.net>
pkgname=falcon-bin
pkgver=0.8.14
pkgrel=2
pkgdesc="An open source, simple, fast and powerful VM-based programming language, and a scripting engine ready to empower mission-critical multithreaded applications. (binary distribution)"
arch=(i686)
url="http://www.falconpl.org/"
license=('GPL' 'custom:FPLL')
depends=(gcc-libs glibc)
replaces=(falcon)
source=(http://www.falconpl.org/project_dl/_official_rel/falcon-$pkgver.$pkgrel-bin.tgz)
md5sums=('737d85f1f1a41625863ad4e9e536b91f')
build() {
cp -r $srcdir/usr/ $pkgdir/
}
This is the first PKGBUILD I've created. It's for the Falcon programming language and is already in the AUR. I just wanted to know if it's more or less correct - I'm especially doubtful of my use of cp -r to install everything and also my depends array.
Thanks in advance.
-dav7
Windows was made for looking at success from a distance through a wall of oversimplicity. Linux removes the wall, so you can just walk up to success and make it your own.
--
Reinventing the wheel is fun. You get to redefine pi.
Offline
My guess is that this is a static binary so your depends array can be empty. You can check using ldd on the binaries/libraries.
I don't know how many files you need to install, but it is safer to use "install" so you can set correct permissions. With too many files, that may not be possible.
Offline
$pkgver should be the upstream release number - in this case, 0.8.14.2. $pkgrel is the package release number - as this is a new package, it should be 1. man PKGBUILD for more details on this.
I'd also suggest building from source, instead of using a precompiled binary. The sourcce tarball is the first one listed on the project's download page.
Offline
Allan: I already used ldd and that's where I got the current depends. And there are about 30 files.
tomk: I see. How do I update my PKGBUILD? Also, there's already a source tarball in the AUR. I don't want to download an entire source tree since I'm really pressed for diskspace at the moment, so deliberately installed the binary release.
Windows was made for looking at success from a distance through a wall of oversimplicity. Linux removes the wall, so you can just walk up to success and make it your own.
--
Reinventing the wheel is fun. You get to redefine pi.
Offline
How do I update my PKGBUILD?
Just upload the revised PKGBUILD. The AUR will detect the identical name and update the package appropriately.
Offline
How do I update my PKGBUILD?
The same way you created it in the first place - edit it and rebuild. (Was that a serious question? )
I would still recommend the source build over the binary - makepkg can remove the source after the build, if you're stuck for space.
Offline
tdy, tomk: Yes, it was a serious question since the AUR suggests at no particular way to "edit" a PKGBUILD.
Windows was made for looking at success from a distance through a wall of oversimplicity. Linux removes the wall, so you can just walk up to success and make it your own.
--
Reinventing the wheel is fun. You get to redefine pi.
Offline
In that case, the question is "How do I update an AUR package?" and the answer is in the AUR documentation in the wiki. In particular, the AUR User Guidelines are recommended for all new AUR users.
As with all wiki pages, please feel free to make improvements as required.
Offline
purely a stylistic matter, but i'd say your pkgdesc is a tad verbose.
[23:00:16] dr_kludge | i want to invent an olfactory human-computer interface, integrate it into the web standards, then produce my own forked browser.
[23:00:32] dr_kludge | can you guess what i'd call it?
[23:01:16] dr_kludge | nosilla.
[23:01:32] dr_kludge | i really should be going to bed. i'm giggling madly about that.
Offline
Okay, updated. Thanks for the input!
Last edited by dav7 (2009-02-16 08:06:25)
Windows was made for looking at success from a distance through a wall of oversimplicity. Linux removes the wall, so you can just walk up to success and make it your own.
--
Reinventing the wheel is fun. You get to redefine pi.
Offline
@dav7: woah, forum post of the beast! good job!
[23:00:16] dr_kludge | i want to invent an olfactory human-computer interface, integrate it into the web standards, then produce my own forked browser.
[23:00:32] dr_kludge | can you guess what i'd call it?
[23:01:16] dr_kludge | nosilla.
[23:01:32] dr_kludge | i really should be going to bed. i'm giggling madly about that.
Offline
Pages: 1