PKGBUILD "Project: Starfighter". Is all correct?

I have created a PKBUILD for "Project: Starfighter" which btw is my first PKGBUILD. I would appreciate comments on this PKGBUILD before I post it on AUR.
To make it build cleaner I had to change some paths in the makefile. I am not sure if I should name the patchfile (for the makefile) in any different way or if the name I have chosen works.
PKGBUILD
# Contributor: Peter Johansson <johpet>
pkgname=starfighter
pkgver=1.1
pkgrel=1
pkgdesc="Project: Starfighter is a 2D mission-based shoot-'em-up game."
url="http://www.parallelrealities.co.uk/starfighter.php"
license="GPL"
depends=('sdl' 'sdl_image' 'sdl_mixer')
source=('http://www.parallelrealities.co.uk/download.php?file=starfighter-1.1-1.tar.gz&type=zip')
md5sums=('6a4b704dbc83c7403842b936f95ee958')
build() {
cd $startdir/src
tar -xzf 'download.php?file=starfighter-1.1-1.tar.gz&type=zip'
cd $startdir/src/$pkgname-$pkgver
patch -p0 -i $startdir/$pkgname.patch
make || return 1
make DESTDIR=$startdir/pkg install
starfighter.patch
--- makefile.old 2006-05-26 07:39:55.000000000 +0200
+++ makefile 2006-05-26 07:52:39.000000000 +0200
@@ -7,8 +7,9 @@
PACK = starfighter.pak
DOCS = docs/*
-BINDIR = /usr/games/
-DATADIR = /usr/share/games/parallelrealities/
+DESTDIR =
+BINDIR = /usr/bin/
+DATADIR = /usr/share/starfighter/
DOCDIR = /usr/share/doc/starfighter/
# top-level rule to create the program.
all: $(PROG)
@@ -30,8 +31,8 @@
# install
install:
- mkdir -p $(DATADIR)
+ mkdir -p $(DESTDIR)$(DATADIR)
+ mkdir -p $(DESTDIR)$(BINDIR)
strip $(PROG)
- install -o root -g games -m 755 $(PROG) $(BINDIR)$(PROG)
- install -o root -g games -m 644 $(PACK) $(DATADIR)$(PACK)
- cp $(DOCS) $(DOCDIR)
+ install -m 755 $(PROG) $(DESTDIR)$(BINDIR)$(PROG)
+ install -m 644 $(PACK) $(DESTDIR)$(DATADIR)$(PACK)
errors/warnings from namcap
namcap PKGBUILD
PKGBUILD (starfighter) W: Missing Maintainer tag
PKGBUILD (starfighter) W: Missing CVS Id tag
PKGBUILD (starfighter) W: file referenced in $startdir outside of $startdir/src or $startdir/pkg
Should I put myself as a maintainer too?
Is the second warning something I have to fix or is it something that is more necessary if I would build from cvs?
I guess I could ignore the third warning since it probably is because I am reading a patchfile in $startdir
When I run namcap starfighter-1.1-1.pkg.tar.gz it complains on the dependencies but I know that they are needed since I have checked them with  ldd and they are also listed as dependencies on the homepage. I am guessing that it is something that I could ignore? Or am I wrong?
Thanks in advance for any suggestions/corrections anyone might have.
Peter Johansson

tomk wrote:
Nice work. You can ignore the first two namcap messages - they only apply if the package is destined for a binary repo. The third message is important. All files required for a build must be listed in the source= array, with corresponding entries in the md5sums= array, and a PKGBUILD should only reference files in $startdir/src or $startdir/pkg. Put the patch file (the name is fine, btw) in source=, and change the path in the patch command to
$startdir/src/$pkgname.patch
One more thing, but this is optional. That source URL really offends me (<rant>why can't developers just link to the tarball, without this kind of crap?</rant>), so you could get it from somewhere a bit saner e.g.
http://ftp.osuosl.org/pub/FreeBSD/distfiles/starfighter-1.1-1.tar.gz
I've checked the md5sum, and it's the same. It's your package though, so you decide.
namcap is a good tool, but it's not gospel - you're using it the right way i.e. with common sense.
Thanks!
I have fix those problems even the one with the URL. I totally agree with you, it looks a lot saner with the other URL. Going to upload it to AUR in a couple of minuts. Hopefully it doesn't have anymore errors.
# Contributor: Peter Johansson <johpet>
pkgname=starfighter
pkgver=1.1
pkgrel=1
pkgdesc="Project: Starfighter is a 2D mission-based shoot-'em-up game."
url="http://www.parallelrealities.co.uk/starfighter.php"
license="GPL"
depends=('sdl' 'sdl_image' 'sdl_mixer')
source=(http://ftp.osuosl.org/pub/FreeBSD/distfiles/$pkgname-$pkgver-1.tar.gz starfighter.patch)
md5sums=(6a4b704dbc83c7403842b936f95ee958 7d11a7217022b216c3de6e0455483418)
build() {
cd $startdir/src/$pkgname-$pkgver
patch -p0 -i $startdir/src/$pkgname.patch
make || return 1
make DESTDIR=$startdir/pkg install

Similar Messages

  • Project not displaying all images.

    In the project pane each project has a number beside it showing the quantity of images it contains.I have a Project called 2007 for all images from 2007 this contains 3830 images, if i click on the closed project ,without opening it, all images in the project become available in the browser pain ie 3830 images, this appears to be correct behavior.+However my 2006 project contains 2541 images, when I click on this without expanding it only 15 images become available in the browser+, how can I fix this.
    I have since started organising each month into its own project with individual folders for each day to keep each project size down.All images are referenced.
    Command;"update previews for project" has no positive effect.
    Within each annual project I have brown folders for each month containing blue folders for each day.

    in between the browser and viewer panes is a little search box ... click in it to change ... or if there is an 'x' in click it ... somehow you set a filter on that project ...

  • Hi I got iPhone 4 been getting apps today went to get an app and won't let me even free ones have to sign in then sign in again for billing info it's all correct but still won't download apps had problem before fixed it but won't work again

    iPhone has previously downloaded apps but go to do today and won't keeps asking for billing info which is in there and correct but then says plz update you payment there is a billing problem with your previous purchase it's done before to me so reset and erased everything and worked did that Again and still doesn't work  info is all correct have to re enter Ccv number still doesn't work driving me nuts I want my apps

    If you had money in your account when you purchased a paid app and Apple didn't claim on the payment to your bank until after the download it maybe that there was insufficient balancce in your account to complete the purchase and therefore you'll need to wait until you have the funds to make the payment, when you have billing issues it won't even let you download free apps.
    If that isn't the case then give iTunes store a call or email them and they can tell you exactly what is wrong with the account

  • Every time I try to download an app it says billing info is incorrect but its all correct it won't let me sign in using a diff apple id even when I reset my phone anyone else had this problem if so how do I fix it?

    Every time I try to download an app it says billing info is incorrect but its all correct it won't let me sign in using a diff apple id even when I reset my phone anyone else had this problem if so how do I fix it?

    Amylovelyy wrote:
    Every time I try to download an app it says billing info is incorrect but its all correct ...
    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact
    Amylovelyy wrote:
    ...  it won't let me sign in using a diff apple id ...
    Settings > iTunes and App store > Apple ID = Sign Out... Then Sign In using the preferred Apple ID.
    It should be Noted that anything Downloaded with a Particular Apple ID is tied to that Apple ID and Cannot be Merged or Transferred to a Different Apple ID.

  • I have just updated my iTunes to 11.1.3. I followed all correct steps, restarted my computer etc. But iTunes will now not open no matter what I try and do. Please help me!!!!!!!!

    I have just updated my iTunes to 11.1.3. I followed all correct steps, restarted my computer etc but now I cannot open iTunes not matter what I try and do.
    Very frustrating. Have read the trouble shooting info on Apple website but nothing has worked.
    Someone please help. I cannot access any of my music.

    Open Finder. Go to the "Go" menu in the menu bar. Press and hold Control and click on Library. Go to "Preferences". Find a file named, "com.apple.iTunes.plist" and delete that file. This won't delete your iTunes content. It will reset iTunes. Try it again.

  • Project does not play correctly.

    This is kind of related to another post http://discussions.apple.com/thread.jspa?threadID=1697615&tstart=0 of mine.
    I moved my iMovie Events folder from my local HD to an external hard disk but left the iMovie Projects folder alone. I placed an alias to point to the hard disk and for reading this appeared to work. For writing it did not. So I just pointed iMovie to write to the external hard disk.
    But when I opened a previously saved project, it would start off okay but then begin to lose the timing of the edits until the project was garbage. So I dragged the source material back to its location on the local hard drive. This has not fixed the problem.
    My project has lost all the fine edits to the project. The edits are there as is the music and titles but the timing is all wrong. Is there a way to restore this?
    Incidentally I do have a fully rendered MP4 version of the project but I wanted to go back and convert it from NTSC to PAL and burn it to DVD for some UK family members. I can do this using JES Deinterlacer to convert from NTSC MP4 to PAL DV so not all is lost, but it would be nice to know if there is a way to restore my project to get back to source.

    iM08 has a very .. fragile file management, you shouldn't 'override' by any Finder operation.
    illustrated advice on my ad-free website:
    *Project Library (and Events) on External Harddrive*
    http://karsten.schluter.googlepages.com/im08tricks
    I'm afraid, your project(s) is fatally broken

  • When I open certain apps it says my device's date is incorrect. But on my calendar and general settings, it's all correct!

    When I open certain apps it says my device's date is incorrect. But on my calendar and general settings, it's all correct!

    Try changing the date - doesn't matter to what - just change it - go back to the app and I assume that you will get the same message. Go back to the settings and change the date and time to automatic again and see if the apps will work after that. Turn location services on in the settings as well.

  • How to add document library which is common for All Project Site Under All Project in pwa.

    Hi,
    I want  to add Document Library under project site which should be common for all project site in all project.
    is there any out of box solution for this ?

    Hello. Yes this possible. See a post I created below that covers creating custom project site templates. The first part of the post is for project plan templates but then the bulk of this post is for project site templates. http://pwmather.wordpress.com/2014/02/02/getting-started-with-projectonline-part-6-ps2013-office365-project-ppm-sharepointonline-pm-sp2013/.
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • HT1311 Though i am signed into Apple ID with new credentials (all correct) the iMessage shows my old email address

    Though i am signed into Apple ID with new credentials (all correct) the iMessage shows my old email address
    I can therefore not sign in
    Any suggestions please?

    Content and Apple IDs -
    Content is forever tied to the Apple ID that bought it. Apple does not transfer content from one Apple ID to another. Apple does not merge Apple IDs. You will never be able to access your content bought with another Apple ID with a new Apple ID.
    Apple ID security issues -
    Call Apple Care and ask for the Account Security Team. They can assist you with your issue of recovering the old Apple ID.

  • How to change the order of the projects in the "All Projects" display?

    Is there a way of reordering the projects in the All Projects display? Is alphabetical ordering possible?
    Thanks.

    Before you sync your iPhone the next time, activate the option "sync addressbook" and "replace all Contacts on iPhone". The next sync will replace your contact info on your phone. From that point on all contact infos will be the same on your mac and and your phone. And changes or new infos will also be seen on both systems.
    Hope this helps

  • I'm getting this error message: "User not registered for online use" when i'm trying to download music/ track names from a CD into ITunes on my Windows 8 PC.  I'm registered and my itunes account/ appleID are all correct and working.

    I'm getting this error message: "User not registered for online use" when i'm trying to download music/ track names from a CD into ITunes on my Windows 8 PC.  I'm registered and my itunes account/ appleID are all correct and working.

    The ""not recognized for on-line use". error is associated with the Gracenote service that iTunes uses to look up and retrieve metadata for CDs.  Some users have reported that this error occurs when trying to import from CD, subsequent to upgrading to version 12.  A number of slightly different solutions have been reported (though all of a similar nature).
    Try walking through the following steps - before starting you may have to enable hidden files and folders to be viewed - in Windows 7 / Windows Explorer select Organize > Folder and search options, then on the View tab make sure that Show hidden files, folders and drives is selected.  Without this you won't see the AppData folder in C:\Users\username\
    Exit iTunes
    In Windows Explorer, go to the folder C:\Users\username\AppData\Roaming\Apple Computer\iTunes
    Delete the following files:
    CD Info.cidb
    com.apple.iTunes.Gracenote.plist
    Restart iTunes
    Insert a CD and see if details are now correctly retrieved from Gracenote
    If this doesn't work:
    In iTunes, select Edit > Preferences and make a note (or take a screenshot) of your preferences settings in all relevant tabs
    Exit iTunes
    In Windows Explorer, go to the folder C:\Users\username\AppData\Roaming\Apple Computer\iTunes
    Delete the following file:iTunesPrefs.xml
    Restart iTunes
    Insert a CD and see if details are now correctly retrieved from Gracenote
    If this second procedure does work, you'll need to restore other iTunes preferences settings to those that you noted in step 1.
    If this one didn't work:
    Exit iTunes
    Check the following folders:
    C:\Users\username\AppData\Local\Apple Computer\iTunes
    C:\Users\username\AppData\LocalLow\Apple Computer\iTunes
    Delete any copies of the following files:
    CD Info.cidb
    com.apple.iTunes.Gracenote.plist
    iTunesPrefs.xml
    Restart iTunes
    Insert a CD and see if details are now correctly retrieved from Gracenote
    Again, if this procedure does work, you'll need to restore other iTunes preferences settings to those that you noted in step 1 of the second procedure. If you're still not able to retrieve CD info:
    Exit iTunes
    In Windows, select Start > Control Panel > Programs and Features.  Find the entry for iTunes, right-click and select Repair.
    When this process has finished, restart iTunes
    Insert a CD and see if details are now correctly retrieved from Gracenote
    If none of these have worked (and almost everything I've seen suggests you should be OK by this point), you may have an issue with the installation and configuration of iTunes itself.  If you have got this far, see turingtest2's notes on Troubleshooting issues with iTunes for Windows updates for advice on how to remove and replace of all components of iTunes.

  • I keep on putting my credit card details in and they are all correct and it either says payment method doc lined or payment processing is unavailable?

    I keep on putting my credit card details in and they are all correct and it either says payment method doc lined or payment processing is unavailable?

    Hi Jakeylittle,
    I apologize, I'm a bit unclear on the exact nature of the issue you are describing. If you are having issues entering or changing your billing information for your iTunes Store account, you may find the following article helpful:
    Change or remove your payment information from your iTunes Store account (Apple ID)
    http://support.apple.com/kb/HT1918
    Regards,
    - Brenden

  • Premiere project doesn't import correctly

    Hi I'm a new user of After Effects and having some difficulties importing my project from Premiere into After Effects.
    When I open AE I hit file, import, adobe premiere pro project, and then I hit my premiere project.
    The project loaded with all the files listed and it looks normal but instead of having one file that says "composition" that you can hit and it will load all of the trimmed clips from the project into the timeline, there are several files labeled "composition". I have 25 files that are labeled "composition" which is also how many avi files I used in my premiere project. When I click on one of them it loads the whole video of that avi file and not the trimmed version I made in Premiere.  Can anyone tell me why this is happening and how to fix it?
    Let me know if you need any additional information!
    My system info is:
    Adobe After Effects CC 2014 version 13.0.0.214
    Adobe Premiere Pro CC  version 7.2.2 (33)
    Windows 8.1 Pro
    Processor: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz 3.40 GHz
    RAM: 16.0 GB
    System Type: 64-bit
    AVI Codec: Ut Video Codec YUV420 (ULY0) VCMx86
    Quicktime 7.7.5
    [Please choose only a short description for the thread title.]
    Message was edited by: Jim Simon

    Hi Kevin,
    Here is the screenshot of AE after I loaded my project.
    Here is a pic of my project in Premiere.
    Thanks for looking into this for me! Let me know if you need me to do anything else

  • Can't find last import from iPhone! Noticed as I imported I had that view where there was only one project symbol, not all my projects showing by date, but even so pictures were imported. It took the time to do them, so where

    Can't find last import from iPhone!
    Noticed as I imported I had that view where there was only one project symbol, not all my projects showing by date, but even so pictures were imported. It took the time to do them, so where aare they? I have closed and restarted to get back fll view of all dated projects, but nothing can be found from today...

    have i posted it right...??  no response from apple guys...

  • Cannot access keychain. Passwords are all correct, "security code" sent to old cellphone number. Impossible to contact apple support.

    I've been trying to access my iCloud's keychain for weeks now. Updating Yosemite somehow made my 13'' Macbook pro "log off" from the keychain and when I try to reconnect to the keychain, I am asked my iCloud password and then my security code, which I both enter successfully.
    Then I am unexplainably asked to enter a "security code" sent to an old cellphone number of mine that is now deactivated. I click on "I don't have access to this number" and I am redirected to Apple's confusing silly-willy contact support website and find out that, since I am in China, there is NO POSSIBLE WAY for me to contact support.
    Bottom line is, even though I have FULL CREDENTIALS to access the entirety of my iCloud's features(my passwords are all correct!!), I am stuck trying to access my keychain because of an unreasonable unsolicited and unwanted "security" measure, combined with a NON-EXISTING costumer support for China.
    Apple is such a huge waste of time, I own an iPhone, a Macbook pro and a magic mouse, but one thing I'm sure of is, I will never ever buy anything else from this company again, because it just PRETENDS to sell the "perfect costumer experience".

    Hi 2 stroke,
    I apologize, I'm a bit unclear on the exact nature of the issue you are describing. If you are having issues setting up or using iCloud Keychain, you may find the information and troubleshooting steps outlined in the following article helpful:
    Get help using iCloud Keychain - Apple Support
    Regards,
    - Brenden

Maybe you are looking for

  • Error while delivering a failed message ATG

    Once i select the allowMessageDelays to false i get my message in the error queue but if i select it as true then the message gets saved in the dms_limbo tables and we get the following error infinite times.I have given the maximum attempt as 3 but i

  • Avoid posting of realized exchange rate differences in 2nd local currency

    Dear SAP fans, The situation here in our company is that a company code is set up with NZD as 1st and EUR as 2nd local currency (currency type 30 "Group currency" for EC-CS consolidation). Therefore, all postings (and balances) are also translated an

  • Pie chart: setting colors of series via DBF

    Hello, I am working with Crystal Reports XI on a report that's creating a pie chart from a DBF file. The DBF, the report obtains it's data from, can contain a variable number of data. Due to this, the number of series, the chart is made up of, cannot

  • SOAP Web Services in JDeveloper

    Hello! As you helped me with my other problems, I hope you can help another time: A SOAP web service that was already running, won't do that anymore, but shows up the following two error messages: [SOAPException: faultCode=SOAP-ENV:IOException; msg=R

  • More read-mostly pattern & JNDI Lookup.

    Hi all, I'm still having problems with the read mostly pattern implementation. I get the following: weblogic.utils.AssertionError: ***** ASSERTION FAILED ***** - with nested exception: [javax.naming.NameNotFoundException: Unable to resolve UserRO. Re