Input on a PKGBUILD appreciated

I found myself in need of a software package that were not in the repos nor in aur, but instead of
just compile and be done with it I made it into a package, as practice.
There are some issues that made it harder to package, for me:
The source archive is a tarbomb, the template PKGBUILD recommends cd $srcdir/$pkgname-$pkgver
and I assume it should be created by the source package? ...anyway it is not created in this instance.
The makefile has no install option, copying has to be done by hand.
There are some files provided for the user's benefit that do not fall into the bin/conf/doc categories (I put them in /usr/share/$pkgname)
I've tried to adhere to the building standards etc, but in the above cases I am not sure I've made the correct choices,
(in some cases the documentation was for cases not similar enough for this package, in some it was unclear if the statement was a suggestion
or a requirement)
The package is quite specialized, so I doubt I'll submit it to aur, but input would be welcome anyway.
# Maintainer: Leo Bärring <[email protected]>
pkgname=lifutils
pkgver=1.4
pkgrel=1
pkgdesc="LIF Utilities"
arch=(any)
url="http://www.hpcc.org/datafile/hpil/lif_utils.html"
license=('GPL')
depends=(glibc)
source=('http://www.hpcc.org/datafile/hpil/lifutils.tar.gz')
md5sums=('c70ecf3f059e10333c8d79ec8bea14bd')
build() {
cd $srcdir
make
package() {
cd $srcdir
install -dm755 $pkgdir/usr/{bin,share/{$pkgname/{hardware,xroms},man/man{1,5}}}
install -m755 -t $pkgdir/usr/bin \
lifimage lifdump lifdir lifget lifaddhdr lifrmhdr \
hptext sdata prog41 text75 regs41 stat41 key41 outp41\
inp41 wall41 wcat41 in71 out71 lifstat sdatabar \
barprt barps rom41 rom41cat prog41bar
install -m644 hardware/* $pkgdir/usr/share/$pkgname/hardware
install -m644 xroms/* $pkgdir/usr/share/$pkgname/xroms
install -m644 manpages/*.1 $pkgdir/usr/share/man/man1
install -m644 manpages/*.5 $pkgdir/usr/share/man/man5
Last edited by tlvb (2011-01-30 06:58:07)

[...editing...]
Done and done. PKGBUILD above updated.
I thought I should be able to use the -D flag to create the directories on the go as the files were copied, but no cigar.

Similar Messages

  • OTL (Additional Input Value) help greatly appreciated

    Hi there,
    I have a requirement where we wish to use OTL for a front end to a number of allowances which require the population of additional input values on the element. These could be for example miles travelled or the method of travel.
    Does anyone know how this can be done?
    I am envisaging creating an element with the following input values :-
    Hours
    Multiple
    Rate
    Rate Code
    Miles
    I need the additional field to be displayed on the timecard. Does this require custom timecard templates? How do I make the additional field on the timecard populate the Miles input value when the time entry is transferred from OTL to BEE.
    Any advice on this would be very greatly appreciated.
    Many Thanks and have a great week
    Kev

    You need to follow these steps:
    1. Add the input values to your Element, check element link, include the element to your element set, run "generate flexfield process" with the above element set.
    2. Create mapping components for each of the new fields which you want to show on the timecard to let system know which column these attributes will get mapped to.
    3. Add the mapping components to your receiving application's Retrieval and Deposit process.
    4. Now modify your timecard layouts to show the additional fields you want to show.
    For detailed information, please ,follow the Note:207333.1
    Oracle Time & Labor Implementation and User Guide, Release 11i, September 2006

  • TC will work with old AEX's??? Any input greatly appreciated!

    Hi everyone,
    I originally posted this up in April, but got no responses. If someone knows the answer to this question I'd be grateful as my decision to purchase a TC is dependent on it!
    Glossary:
    TC - Time Capsule
    AEX - Airport Express
    My current set-up:
    Billion ADSL2+ modem & 11g wireless router (I got this from my ISP, and will be keeping it because I use its voIP capabilities)
    2 x 11g AirPort Expresses which I join onto the current 11g network - I only use these for the AirTunes feature
    2 MacBook Pro's
    1 MacMini
    Scenario:
    I figure when I get a 1TB TC I'll plug it into the router & use it to set up a new 11n wireless network. _**Will I still be able to use my old 11g AEX's to join onto the new 11n network so I can continue to use AirTunes? Or will I have to replace all my old 11g AEX's with the new model that support 11n?**_
    On top of the additional expenses of having to buy new 11n AEX's, it'll be a pity of have to throw out relatively new and perfectly working 11g AEX's
    Before we get even that far, I wonder if anyone has experience with using TC with a Billion modem/router? (I will turn the Wifi function on the Billion off of course). I have come across a couple of discussion threads where people described difficulty getting the TC to work with some routers.
    Any input would be greatly appreciated!
    Thanks in advance,
    Leo

    Hey, thanks for the help!
    Does 'running in bridged mode' = 'dual-band network'?
    I had no idea you could set up a dual-band network, which could potentially work well for me because I've also got a Mac Mini on my present network, which does not support the 11n system and is not known to be upgradeable to it (as yet).
    So just to clarify, if I had this dual-band set-up, my 2 MacBook Pros & to-be-acquired Time Capsule could work off the 11n network, and my 11g AEX's & Mac Mini could work off the 11g network (from my original router)?
    And I would actually be setting up 2 network names (1 x 5G & 1 x 2.4G) for the 1 same network?
    How different would the network speed be if I set the TC up as '11n 5G only,' compared with '11n, b/g-supported?' I'd only be using Time Machine on my MacBook Pro (my work computer), so I'd like its network to be as fast as possible.
    And one last question, would the Mac Mini have any problems accessing and writing data onto the TC, since it'll have to access TC through a bridged 11g network? (As opposed directly accessing the TC 11n network).
    Thanks again!
    As I had originally posted this question on the TC forum also, I will also thank the other helpful person with this thread.

  • How to make a field mendatory input in ALV grid

    Hi All,
    I am using   CALL METHOD g_alv_grid_0200->set_table_for_first_display for diplay in an ALV Grid.
    I have made few fields in the ALV grid as EDITABLE. Now I want to make them as MENDATORY FOR INPUT.
    Can somebody please suggest me how can I do it using any field of field catalogue or any other way !
    Timely inputs will be highly appreciated.
    Thanks in Advance!!
    Chandan

    hi
    we the option of making the field as not mandatory or making the field ready for input or edit
    but dont have the option to make the edited field as mandatory.
    types: begin of slis_fieldcat_alv_spec,
             key_sel(1)     type c,        " field not obligatory
             input(1)       type c,        " input
             edit(1)        type c,        " internal use only
           end of slis_fieldcat_alv_spec.
    Regards

  • Batch input in ECC 6.0 for data collation reports?

    Hello all,
    Is anyone using IS-OIL (OGSD) in ECC6.0? I have heard that the technology for posting data collation reports is no longer based on batch input technology but I couldn't find any information on it, neither in the release notes. Does anyone know whether this is true?
    Kind regards,
    Klemens

    Hi Satya,
    Still I am getting  the same error. I am using IE 7.0 browser. In my service I have the following parameters in SE80 as well as in the SAP GUI Config in SICF.
    ~ITSMOBILE 1
    ~THEME 99
    ~TRANSACTION LM00
    I have published the complete service and it published successfully to INTERNAL site.
    My custom service is active in SICF.
    When I test the service, IE can not display the page.
    Do we need to activate any other standard service?
    Or Do we need to set some additional parameters to the service?
    Do I need to make any special settings in the IE 7.0?
    Your input will be highly appreciated.
    Regards,
    Subbu

  • Auto reboot / Manual reboot : easy way to apply group policy for each group without multiple AD links? Help appreciated

    Good morning,
    I have two policies for WSUS, one that auto-reboots the client and one that allows for manual reboots.  I'm sure this is very obvious, but i'm wanting to make sure I do this correctly.
    What's the easiest way to apply the policy for manual/auto reboots without having to go through my entire active directory tree and link it to each OU containing mixed computers?  
    I hope this makes sense, but I know i can set security groups and then set it for the scope, but if I go that route is there a way to apply it to all Domain Computers, EXCEPT those who are a member of security group "MPS - WSUS Manual" for example?
    Any input here is greatly appreciated
    Thank you

    If all the machines that you want to have the manual option are in a few select OUs then you could apply the auto reboot GPO to the root of the domain, and then link the manual GPO just to those GPOs containing the relevant machines. As explained here
    http://technet.microsoft.com/en-gb/library/cc785665(v=ws.10).aspx a policy applied to an OU overrides a policy applied to the domain as a whole.
    While I'm not sure, from your description I'm guessing that's the case, and they're actually mixed in throughout the domain? In which case, the other option might be to make use of group policies order or precedence. As described here
    http://blogs.msdn.com/b/muaddib/archive/2012/08/22/determine-gpo-precedence-with-gpmc-gpresult.aspx you'll see that the order that the GPOs are listed makes a difference to the order that they are applied, and the last to be applied takes precedence over
    those that come before. Therefore using that, if you applied the reboot policy to everyone, and then applied the manual one with a security filter so it only applied to your "MPS - WSUS Manual" group such that it had a higher precedence, all machines would
    receive the first GPO, but those machines in that group would have that overridden by the second policy.

  • Help with Dynamic Form Input

    Hello,
    I'd like to generate a form with a PL/SQL script.
    Basically I'd like to ask the user to rank a set of items.
    I have two tables one, ITEMS [ID (Primary Key), NAME (VARCHAR2)] and one PREFERENCES [ID (Primary Key), ITEM_ID (Foreign Key),PREFERENCE (Number), USERNAME (VARCHAR2)]
    From what I understand Collections and APEX_ITEM would be useful here.
    What should I do next?
    Should I read all of the ITEMS ( there will only be 7-13) into a collection and then use APEX_ITEM to generate rows in the form?
    Should I first create rows in Preferences, containing only the ITEM_ID and the USERNAME, and then use multiple row update in APEX_ITEM to generate a tabular form to update the rows?
    Any input would be greatly appreciated.
    Thanks,
    Sam

    I would like one form on one page for creating multiple rows. A tabular form would be fine.
    the page would look like
    Item 1 , Choose a Preference (LOV)
    Item 2, Choose a Preference (LOV)
    Item n, choose a Preference (LOV)
    I know that this could probably be done more easily one row at a time, but I am concerned about making it easy for the end user.
    A tabular form could be appropriate, however it seems like most of your example tabular forms, have already generated records. (ie http://htmldb.oracle.com/pls/otn/f?p=31517:170:4031429456413649::NO ).
    Would it make sense to prepare the form by inserting values into the table just before displaying the form.
    something like (in psudocode)
    select ID from ITEMS into l_items;
    INSERT INTO PREFERENCES (ITEM_ID)
    VALUES (l_items)
    I have a trigger on Preferences that inserts v('APP_USER') into the USERNAME column.
    If I did this the form could display
    select     "ITEMS"."NAME" as "NAME",
         "PREFERENCES"."PREFERENCE" as "PREFERENCE"
    from     "ITEMS" "ITEMS",
         "PREFERENCES" "PREFERENCES"
    where "PREFERENCES"."ITEM_ID"="ITEMS"."ID"
    NAME would be displayed as TEXT
    PREFERENCE would be an LOV
    USERNAME would be hidden
    Thanks for your help.
    -Sam

  • How to create a voltage output based on an ultrasonic sensor input

    For a school project we are trying to use an ultrasonic sensor to control the voltage sent to a group of leds. We calibrated the sensor and determined six different voltage levels that we wished to output to the leds based on the voltage input to the sensor. We set up a labview program and were going use one of the mathnodes that allows code to be written to send a signal to a case structure to send the output voltage. Each case has a different output voltage associated with it. We can't seem to get the math node to work with the case structure to get an output. I have attached a screen shot of our block diagram and a copy of our .vi file. If anyone has any input it would be appreciated.
    Attachments:
    led block diagram.JPG ‏64 KB
    led project2.vi ‏822 KB

    Hello,
    Have you used highlight execution or probes to confirm the output of the Mathscript node? Also, though LabVIEW is coercing your output, it is not best practice to wire a double (floating point) to a case structure (discrete cases). I would recommend changing the data type to an integer.
    Please let me know the results of the probe steps.
    Thank You, 
    Patrick Corcoran
    Application Engineering Specialist | Control
    National Instruments

  • HT4623 Looking for input about a paid app that lost afunctionality call due to iOS upgrade but the dev hasn't changed the wording in the app's description?

    I wouldn't make much of an issue for this but to be honest I'm kind of ****** because it's exactly the call I got that app for and it's greyed out stating iOS has privately control of this function, I must probably let you know I am familiar with iOS7 and above but being in the IT communities for almost 27 yrs I can tell no dev would make a UI layout with permanent greyed out functions , right? That must have been active at some earlier point.
    I tried to contact Apple and since it's not an urgent matter I chose the communities support first. I'd like this sorted out because the dev should have either withdrawn the app or update its description, and I'm not familiar with Apple's screening procedure regarding AppStore..
    Any input will be much appreciated.
    Thanks.

    I wouldn't make much of an issue for this but to be honest I'm kind of ****** because it's exactly the call I got that app for and it's greyed out stating iOS has privately control of this function, I must probably let you know I am familiar with iOS7 and above but being in the IT communities for almost 27 yrs I can tell no dev would make a UI layout with permanent greyed out functions , right? That must have been active at some earlier point.
    I tried to contact Apple and since it's not an urgent matter I chose the communities support first. I'd like this sorted out because the dev should have either withdrawn the app or update its description, and I'm not familiar with Apple's screening procedure regarding AppStore..
    Any input will be much appreciated.
    Thanks.

  • Canon Rebel t3i or t2i ???? need input

    I am upgading from my little Canon Power Shot.  Decided on a Canon Rebel either t3i or t2i and would like input.
    The only difference I can see is the swivel out LCD screen, is it worth spending the extra money on that opiton???
    I do take a lot of video's. 
    Any input would be greatly appreciated.    Thanks

    Swivel screens is nice when you shoot low or overhead
    Swivel screens are unprotected (ie a belt buckle) when exposed and must be flip around in order to view it.... a hassle
    Swivel screens also results in more blurry shaky pictures.... using the view finder will be a more steady image as the camera is held closer to your bodies center of gravity
    DSLR videos offer great images, but horrible give audio when the Auto Focus or Image Stabilizer is used.  Turn up your computer speakers and click on this link.  The audio is like listening to finger nails on a chalkboard.  Just say "NO"!  If this your wedding video.... you will be "so fired!".
    http://www.youtube.com/watch?v=9r3VcFueYw4&t=4s
    DSLR videos will require external microphones for best audio.... suddenly your camera is no longer portable.
    DSLR videos are also limited in length before the sensor overheats..... will your wedding completed in 12 minutes?  I prefer packing a separate HD camcorder.
    I like Canon pocket shooters and HD cameras, but I like Nikon for DSLR's.  Consider the D7000 and the D5100 as well in your research

  • Process Chain - Delete File from Application Server

    Hi Gurus,
    Im working with Process chain, and i have a load from a flat file, so my question is :
    How can i delete that file from the application server after was loaded ?
    THANKS IN ADVANCED !!! I REALLY APRECCIATE YOUR HELP.
    Marcos

    hi,
    I have gone through the forum you have posted for deleting files from application server through process chain.
    I have similar reuirement in my project.
    Can you please provide me the solution?
    Your inputs will be highly appreciated.
    Thanks in advance.
    Regards,
    Lavanya.

  • Deski3.1 crashes when trying to open any report

    Hi,
    We have recently installed BoXI3.1 and have migrated couple of our reports from BO6.5 prod env to BOXI3.1 dev environment.One of the users is facing a software issue while retrieving  a document from the Public folders.When the user clicks  on the report in deski 3.1 and then retrieves it a message is displayed stating Import is successful but later rather than the document  being opened it throws an error stating that "BusinessObjects has encountered a problem and sorry for any inconvenience caused to you" and it automatically closes.
    Pls let me know if anyone has faced this kind of issue and what steps should i undertake to solve it and provide some reasoning to the user.
    Any inputs will be highly appreciated..
    Cheers,
    Anu.
    Business Object consultant

    Hi,
    I didnt have a chance to talk to the user as he is on leave.Lets assume that he is able to view the reports in Infoview XI3.1 then whats the issue with deski 3.1
    Cheers,
    Anushree.

  • Error while loading shared libraries

    error while loading shared libraries
    I just installed 10g . on a Fedora Core 4 machine and after a reboot I tried to run sqlplus and got this type of error. I also got the same error when trying to lsnrctl status ...
    [oracle@localhost ~]$ sqlplus
    sqlplus: error while loading shared libraries: /apps/oracle/product/10g/lib/libnnz10.so: cannot restore segment prot after reloc: Permission denied
    [oracle@localhost ~]$
    declare -x CLASSPATH="/apps/oracle/product/10g/JRE:/apps/oracle/product/10g/jlib:/apps/oracle/product/10g/rdbms/jlib"
    declare -x EDITOR="vi"
    declare -x G_BROKEN_FILENAMES="1"
    declare -x HISTSIZE="1000"
    declare -x HOME="/home/oracle"
    declare -x HOSTNAME="localhost.localdomain"
    declare -x INPUTRC="/etc/inputrc"
    declare -x KDEDIR="/usr"
    declare -x LANG="en_US.UTF-8"
    declare -x LD_LIBRARY_PATH="/apps/oracle/product/10g/lib:/lib:/usr/lib"
    declare -x LESSOPEN="|/usr/bin/lesspipe.sh %s"
    declare -x LOGNAME="oracle"
    declare -x LS_COLORS="no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:"
    declare -x MAIL="/var/spool/mail/oracle"
    declare -x OLDPWD="/home/oracle"
    declare -x ORACLE_BASE="/apps/oracle"
    declare -x ORACLE_HOME="/apps/oracle/product/10g"
    declare -x ORACLE_SID="TST2"
    declare -x ORACLE_TERM="xterm"
    declare -x PATH="/apps/oracle/product/10g/bin:/usr/sbin:/apps/oracle/product/10g/bin:/usr/sbin:/apps/oracle/product/10g/bin:/usr/sbin:/apps/oracle/product/10g/bin:/usr/sbin:/apps/oracle/product/10g/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin"
    declare -x PWD="/home/oracle"
    declare -x QTDIR="/usr/lib/qt-3.3"
    declare -x SHELL="/bin/bash"
    declare -x SHLVL="1"
    declare -x SSH_ASKPASS="/usr/libexec/openssh/gnome-ssh-askpass"
    declare -x SSH_CLIENT="::ffff:192.168.1.152 2503 22"
    declare -x SSH_CONNECTION="::ffff:192.168.1.152 2503 ::ffff:192.168.121.8 22"
    declare -x SSH_TTY="/dev/pts/2"
    declare -x TERM="xterm"
    declare -x TMP="/home/oracle/tmp"
    declare -x TMPDIR="/home/oracle/tmp"
    declare -x USER="oracle"
    [oracle@localhost ~]$
    Any input would be highly appreciated.
    Thanks
    Ambrosius

    yap. got it..
    disabled SELinux then run it.
    I didn't get any errors and have it up and running. Here is what I did:
    Full Fedora Core 4 install with SELinux enabled (default settings). Then, after install, disable SELinux in the /etc/selinux/config file.
    Thanks
    Ambrosius

  • Error encountered while attaching a document in an appraisal

    Hi Experts,
    Good day. I have enabled or allowed an attachment to be included in an appraisal but I am getting this error while attaching a document "Read error during PC upload (header of the pop-up box), Include file in PC application Try Again? Yes / No / Cancel (message contents)". Any inputs as to why I got this error? I also checked table T77S0 for GENER/OBJSV and it shows with the value of 1 meaning it is activated, right? One more thing, do you also have an idea as to why I am getting this warning message for the description of the appraisal template: "You have maintained a description that is not displayed." It allows me save but I just want to know why this happens and what do I need to do for it not to appear because the client may get back to me and ask the same thing. Any inputs will be greatly appreciated. Please help.
    Thanks in advance,
    Arvin

    did you install jacob ? with the correct version number described in the installation-guides.
    jacob is not an oracle tool, which normally is only useful for COM-commands against windows.
    What did you do with the image?

  • SOLMAN EHP1 - anyone can create support message in Satellite System's Help?

    Hi,
    I just curios that why everyone can create support message in satellite system-> help -> create support message?
    I tested with restricted profile user and without role SAP_SUPPDESK_CREATE, NO BP created but he still manage to create support message???? Any idea??
    Also, same goes to any user can process ticket in SOLMAN with no BP-Employee role and SAP_SUPPDESK_* roles assigned.
    Your kind input is very much appreciated.
    Thanks,
    Nicholas Chang

    Hi Nicholas
    If you are using a "Named" user instead of the Trusted Relationship in the RFC maintained in BCOS_CUST for entry OSS_MSG then this is quite possible. In this case the "Named" user will be used to call the interface to create message and the calling user ie the end user creating the ticket will only be used as "Reporter" of the message.
    The user entered in the RFC details probably has the authorization to create Support desk messages.
    Regards
    Amit

Maybe you are looking for