My first PKGBUILD, would like consultation before submitting to AUR

Heads up, I am new to both python and arch/linux
projects github page
The program is done in python with pyside(Qt) for GUI, theres no compilation just copying stuff
Heres the PKGFILE:
# Maintainer: DoTheEvolution <[email protected]>
pkgname="angrysearch"
pkgver=0.5.0
pkgrel=1
pkgdesc="An instant file search"
arch=("i686" "x86_64")
url="https://github.com/dotheevo/$pkgname/"
license=("GPL")
depends=("python-pyside" "mlocate")
source=("https://github.com/DoTheEvo/ANGRYsearch/archive/v$pkgver.tar.gz")
md5sums=("ad17b0b86a9c0f92cdce3e917281e04a")
package() {
cd "$srcdir/ANGRYsearch-$pkgver"
install -d $pkgdir/usr/share/$pkgname
install -d $pkgdir/usr/share/applications
install -d $pkgdir/usr/share/pixmaps
install -m755 angrysearch.py $pkgdir/usr/share/$pkgname
install -m755 angrysearch.svg $pkgdir/usr/share/pixmaps
install -m755 angrysearch.desktop $pkgdir/usr/share/applications
Theres also a database being created by the program, which will end up in /var/lib/angrysearch/angry_database.db
and theres also use of /tmp but temp files created are deleted once the program is done with it
also theres just plain asking for sudo password by the program, to execute updatedb and various other commands that need it.
Dunno if its OK with some standards.
Thanks
/edit
huh, I thought I was posting it in the "Creating & Modifying Packages", well...
Last edited by DoTheEvolution (2015-02-01 18:31:03)

Thanks.
That last point was really important, quite monstrously large database could have been left there (locate + btrfs snapshots can really go wild)
updated it accordingly, tested it once in VM for now
Updated PKGFILE:
# Maintainer: DoTheEvolution <[email protected]>
pkgname="angrysearch"
pkgver=0.5.0
pkgrel=1
pkgdesc="An instant file search"
arch=("any")
url="https://github.com/dotheevo/$pkgname/"
license=("GPL")
depends=("python-pyside" "mlocate" "sudo")
source=("https://github.com/DoTheEvo/ANGRYsearch/archive/v$pkgver.tar.gz")
md5sums=("ad17b0b86a9c0f92cdce3e917281e04a")
package() {
install -d "$pkgdir/usr/share/$pkgname"
install -d "$pkgdir/usr/share/applications"
install -d "$pkgdir/usr/share/pixmaps"
install -d "$pkgdir/var/lib/$pkgname"
touch "$pkgdir/var/lib/$pkgname/angry_database.db"
cd "$srcdir/ANGRYsearch-$pkgver"
install -m755 angrysearch.py "$pkgdir/usr/share/$pkgname"
install -m644 angrysearch.svg "$pkgdir/usr/share/pixmaps"
install -m644 angrysearch.desktop "$pkgdir/usr/share/applications"

Similar Messages

  • I would like to sell my G4. But first I would like to erase any information on the computer. How do I wipe it clean before selling?

    I would like to sell my G4. But first I would like to erase any information on the computer. How do I wipe it clean before selling?

    What OS version install disk sets do you have? ...OS 9.x, OS X 10.x...

  • First, I would like to know if its 2014 in this forum like it is here in NJ.  Second, I'd love to pick the brains of some Galaxy S5 people.  Im assuming I'm in the wrong spot.  If you are a guru and a Samaritan,

    First, I would like to know if its 2014 in this forum like it is here in NJ.  Second, I'd love to pick the brains of some Galaxy S5 people.  Im assuming I'm in the wrong spot.  If you are a guru and a Samaritan, please email me at (Removed)
    Private info removed as required by the Verizon Wireless Terms of Service
    Message was edited by: Admin Moderator

    Apple does not give away its products.
    Unless you are the 1,000th person to show up at a new Store and Tim Cook is there and his assistant is filming you to be posted on their Home Page.
    That is yet another FaceBook SCAM.

  • Zone edit, my first attempt; would like some assitance please :P

    Hello,
    spent the week getting this server up (first time). have done well, got to domains working just fine.
    but i'd like to be able to add an SPF record to my zone. but i have not idea how to do this. From what i can tell from reading the forums and such; this is my zone record to edit (correct?):
    zone "ipaultech.com." in {
    file "ipaultech.com.zone";
    type master;
    if this true, how do i add the following text record:
    "v=spf1 a mx ~all"
    if you could "dumb-down" your ansewer/reply i'd greatly appreciated it
    --Paul
    BTW: if you know any links for Macosx and dns/bind, i wouldn't mind them.

    Ahhhhh..... i totally get this. man i wish i knew about this dir about three days ago
    much thanks to you ((¿))
    --Paul
    • G5 Tower >> • Two- 15" G4 Pb >> • 20" G5 iMac >> • Mini (cute little server)

  • HT1688 To wh it concerns:  I first off would like to apologize, for my concern has nothing to do with the article.  I am having trouble installing IOS 5 to my iPhone 4s.  It starts off as if it was going to complete the process, however, it won't allow me

    I was trying to converse the urgency, of my inability to download the lastes software!  So please if you have any suggestions or ideas that may assist me in my little endeavor. I will trully genuinely appreciate any assistance, you are willing to through my way!  Until then, thank you . You can contact me through email: [email protected] or you may call me.  My cell# is (626) 384-0487
    Sincerely,
    Matthew J. Kreier

    Suggest you address your question to Apple directly at http://www.apple.com/feedback.
    This is a user to user support forum and NOT Apple.

  • First PKGBUILD, please review

    I've just created my first PKGBUILD, would you mind reviewing it before I post it to AUR?
    # Contributor: Joel Schaerer <[email protected]>
    pkgname=textext
    pkgver=0.4.2
    pkgrel=1
    pkgdesc="Great extension to the inkscape drawing program which lets you add LaTeX equations to your inkscape document"
    arch=(i686 x86_64)
    url="http://www.elisanet.fi/ptvirtan/software/textext/"
    license=('BSD')
    groups=()
    depends=(inkscape texlive-core python-lxml pstoedit)
    makedepends=()
    install=
    source=(http://www.elisanet.fi/ptvirtan/software/textext/$pkgname-$pkgver.tar.gz)
    md5sums=('448051b36169a06473519c83f20338d8') #generate with 'makepkg -g'
    build() {
    cd "$srcdir"
    mkdir -p "${startdir}/pkg/usr/share/inkscape/extensions/"
    install -m 755 textext.py "${startdir}/pkg/usr/share/inkscape/extensions/"
    install -m 644 textext.inx "${startdir}/pkg/usr/share/inkscape/extensions/"

    Works like a charm! Thank you!
    Some formal, very minor issues:
    * Arrays like (i686 x86_64) should be written ('i686' 'x86_64'). Also valid for the depends.
    * Delete empty fields (groups, makedepends, install)
    * replace mkdir -p by install -d
    Also formal, but less minor and not your fault: There is no clear license statement made by the author. "BSD" is not a license, but an idea of a license, or a bunch of similar licenses. I would put an echo line with some sentence at the end of the PKGBUILD, redirected to $startdir/pkg/usr/share/licenses/$pkgname/BSD.

  • Curve 8520, 2 little things I would like to know.

    Hello everyone,
    I have a Black Berry Curve 8520 and I would like to know 2 things.
    First:
    I would like to know how to add a contact from a text message, like I just gave my number to my mate and he sends me a text how can I add his number to my contacts from his text ?
    Second:
    When some one sends me a text or calls, it comes up with there number not there name that I put as they are in my contacts, how can I make it come up with there name instead of the number because I never remember numbers ?
    Thanks in advance to those who help me.

    I am now able to connect to the Internet on my laptop via my Blackberry's data plan using Verizon.
    I'm somewhat lost with this question or the way it was worded which isn't hard for me most of the time.
    You are able to connect with your laptop over the internet using your Blackberry to access files available on your laptop or are you referring to using the iPhone as an internet connection device for your laptop?
    Message was edited by: Allan Sampson

  • Will somebody provide me with a QBASIC 4.5 PROGRAM for Interfacing with a Anritsu make(model-MS710) Rf spectrum analyser through GPIB ( NI-488.2 ) in DOS environment? I would like to aquire from the instrument and save the data in PC.the data

    Will somebody provide me with a QBASIC 4.5 PROGRAM for Interfacing with an Anritsu make(model-MS710) RFspectrum analyser through GPIB ( NI-488.2 ) in DOS environment? I would like to aquire data from the instrument and save it in PC for printing purpose.

    Hello,
    Unfortunately I was unable to find a driver for this instrument. This leaves you with one of a couple options. First, I would like you to submit a request for this driver at:
    http://www.ni.com/devzone/idnet/other.htm
    We develop drivers in CVI and LabVIEW based on demand and popularity so the more requests we have for it, the greater the possibility that we will develop one. While this would not provide you with a QBASIC program, you may be able to create a DLL that you could call from QBASIC.
    If you would like to try developing your own instrument driver (or modify the existing one), we have documentation, model instrument drivers, and driver templates to help at :
    http://www.ni.com/devzone/idnet/development.htm
    We also have a syndica
    te of third party vendors that specialize in National Instruments' products and services. Some of the vendors specialize in driver development. I would suggest contacting one of the Alliance members at:
    http://www.ni.com/alliance
    Good Luck,
    Kim L.
    Applications Engineer
    National Instruments

  • Try doing the update would not download. So like a dummy I did what I went and downloaded the new itunes so it would update itunes did it before and it worked at first it would tell me that I was missing MSVCR80.dll so I downloadeditagainandnowitwon'twork

    try doing the update would not download. So like a dummy I did what I went and downloaded the new itunes so it would update itunes did it before and it worked at first it would tell me that I was missing MSVCR80.dll so I downloaded it again and reinstalled it and now it won't work at all

    Apple isnt here. this is a user based forum for technical questions. The solution is to restart, reset, and restore as new which is in the manual after that get it replaced for hard ware failure. if your within your one year warranty its replaced if it is out of the warranty then it is 199$

  • Can I sync my iPad (purchased first) with my iPhone (purchased second). I have apps on my iPad that I would like to sync to my iPhone before giving the iPad to my little sister. Help!

    I received the iPad a little over a year ago as a gift from my parents. I loved it so much that I purchased the iPhone4S and I was wondering if it were possible to transfer the Apps that I previously purchased on the iPad to my iPhone. If this isn't possible can I ask why not? I don't understand why purchasing something and paying good money for it doesn't make it truly yours to be used on your devices. I want to give the iPad to my little sister and have my parents set up a new account and "refresh" the iPad (if you can even do that) for her but I'm afraid of losing the Apps that I paid good money for just for them to dissappear. I just want to make the iPad something my sister can call her own. Right now it is connected to me and my account so I would like to change this as well if possible. I am eager to learn more and I look forward to any responses. Thank you for your time.

    If you want to have the mostly same content on both devices - it probably makes more sense to restore your iPad from the iPhone backup. this will put all of your app settings and email settings onto the iPad and any app data and game saves as well will transfer to the iPad.
    You still want to sync the iPad so that all of the apps and photos that are in your iTunes library transfer over to the iPad. Restoring from the backup doesn't restore apps, music, synced photos, movies, books, TV shows and podcasts - you will still need to sync that content to the iPad.
    I have pretty much have the same content on my iPad and on my Touch, but I eliminated the Movies and TV shows from the Touch and some apps as well. Remember that iPhone specific apps may run OK on the iPad - they will run in the iPhone smaller screen size and while you can double the size by tapping on the 2X button in the apps, they will be lower resolution because you just doubling the size of the pixels and the apps look kind of crappy on the iPad - they may work - they just look bad.
    I do not auto sync at all. Nor does iTunes open automatically when my iDevices are connected. I start iTunes on my own and I select all of the content - piece by piece - app by app and so on - as I go along. Once you get through the initial set up - iTunes remembers each device and it's content for the next time that you sync.

  • Enduser - Now on project - would like to train to be a consultant- advice?

    Hi,
    I have worked with SAP as an end user within a MFG envrionment and am now on a SAP project with my company. I am not involved in any config stuff... that is all done offshore.
    I would like to be able to develop my skills and eventually be able to work as an SAP consultant. The area I am interested in is SCM - Manufacturing (Planning & MFG).
    Are there effective training courses, which on successful completion would provide me with the skills required to work as a consultant?
    The SAP (UK) Education courses seem very expensive..... are they the best option?
    Thanks,

    Hi Gavin,
    In my personal opinion, which means you can disagree, the best option is 'experience', which is the best of all tutors. You have some already and you just have to be determined to learn and offer yourself to do the configuration stuff if your project needs one.  Shadow someone on the team who knows it and learn it. 
    Here's a two edged sword for you if you really want to be a top notch consultant:  Just because one finishes a course does not make him/her a good consultant.  At the same time, really serious and good consultants are willing to further themselves through education or self-learning no matter the price.
    The next step is yours.
    I hope that helps!
    John Ta
    p.s. Want a free advice?  Go to the SCM help documentation and familiarize yourself with it as it is a free resource.  I know bad consultants when they ask questions (e.g. on SDN or emails) before they do any homework on their own.  They prove their laziness by not demonstrating what they've tried first.  Urgent!!! I need the answer now!  Of course, you won't be one of those.

  • Have been a Verizon customer since I got my first cell phone in my 30's - I am 50 now! A year ago, I stupidly opted to get a new phone on the EDGE program because I was trying my first Samsung device and was not sure I would like it having been an IPhone

    have been a Verizon customer since I got my first cell phone in my 30's - I am 50 now! A year ago, I stupidly opted to get a new phone on the EDGE program because I was trying my first Samsung device and was not sure I would like it having been an IPhone user for years.I was right! Or so I thought.... The Note 3 has been horrible. I am on my second phone(replaced it under warranty) and it still freezes, shuts off on its own, and will not come back on for long periods of time. Having had enough, I decided to EDGE Up to another device. On March 16th I tried to edge up my device online but was unable to. I immediately called to figure out what the problem was. Back in October I had a mix up in my billing where I had set up a payment. It was not done properly by customer service and as a result my line was cut off. I called the EXACT day it went off, filed a complaint about the lack of follow through for my arranged payment, and thought I had it straightened out as the payment was made that same day. That incident, although it was a Verizon error, caused my Edge Contract to be "hotlined". I spent an hour on the phone on March 16th clearing the whole mess up. When the conversation ended, the Verizon representative admitted it was a Verizon error, documented everything, and then told me she was filing a release for the hotline hold that would take a couple of days. Her name was Linda and I stupidly trusted what she said.
    The days passed as I prepared to have a major foot surgery and to get my classroom straight before I would be out recovering for 3 weeks. All the time, my Samsung continued to glitch out like it has since I got it! While sitting on the couch recovering, I decided to deal with the phone issue again and EDGE UP. I figured 10 days latter, Linda would have taken care of the issue. Unfortunately, I faced the same problem and was told it was not eligible to edge up at this time. BACK on the phone again, 2 supervisors, 3 customer service reps. ( JOE from New York being the rudest customer service rep. I have EVER worked with) and 4 frustrating HOURS latter, Jason, the equally rude supervisor from Rochester, New York, informed me that Linda gave me BAD information, there was NOTHING he could do, and I am NOT eligible until April 14th!!!!! The WORST experience I have EVER had with a company. They were completely inept, rude, and not concerned about my time, my frustration, or the problems I was facing with their product in the LEAST. I have 4 LINES on Verizon that I am going to talk to Sprint about buying out. It was a horrible experience, and I can NOT believe I have no recourse or anyone to talk to....

    Edge has very clear restrictions, one being that you must have 6 months of clean payment history which you don't. Either wait until April 14, or good luck at Sprint.
    I am unsure how it can be determined the payment mix up was the fault of CS, but regardless, the mix up was done. There can be any number of reasons why a payment could be missed without any fault on your part, however you are still the responsible party for the account and must live with the repercussions.

  • I'm using 10.6.8 but would like to use iCloud so need to upgrade to 10.7.4 but need to install 10.7 before I can upgrade to 10.7.4.  Where can I find 10.7.0?

    I'm using 10.6.8 but would like to use iCloud so need to upgrade to 10.7.4 but need to install 10.7 before I can upgrade to 10.7.4.  Where can I find 10.7.0?

    Welcome to the Apple Support Communities
    The latest OS X version is OS X 10.8.3, so first check that you can use OS X Mountain Lion. First, check that your Mac supports Mountain Lion > http://www.apple.com/osx/specs If it's compatible, open the App Store and purchase Mountain Lion. While it's being downloaded, make a backup of your files and check that your apps are compatible > http://www.roaringapps.com
    When the download finishes, the OS X installer will appear, so follow the steps. After upgrading, you will have 10.8.3.
    If your Mac isn't compatible with Mountain Lion, check that you can run Lion > http://support.apple.com/kb/HT4949 If you can run OS X Lion, call Apple to purchase it > http://support.apple.com/kb/HE57 After upgrading to Lion, you will have 10.7.5.
    To set up iCloud after upgrading, open System Preferences > iCloud. Read > http://www.apple.com/icloud/setup

  • I would like to know how to include entries in my TOC that refer to paragraph styles that a before the TOC.

    I would like to know how to include entries in my TOC that refer to paragraph styles listed before the TOC.
    Example:
    page i. Title Page
    page ii. Abstract
    page iii. Table of Contents
    I want the TOC on page iii to include the entries "title page" and "abstract". Is this possible?
    Thank you-

    Thesis formatting rules.
    Can you answer another question?
    How do I change the text for a TOC entry? For example,
    I have selected the title on my first page, for example "Summer Report" and selected a paragraph style for it, and added it in the TOC. Now the TOC will have this entry for "Summer Report" and the associated page. But I want it to say "Title Page" instead. Can I edit this text? In order words, have the TOC point to something with whatever name I want to give it, even though it is not the actual name of the section?

  • Would like to "confirm exit" before ApplicationMgr_OnExitApplication is called...

    Hello all,
    I am using TS3.5 with CVI8.0.1 and the "full-featured" CVI operator interface that ships with TS3.5...
    I would like to force the user to have to answer a confirm pop-up prior to being able to exit the application before the "ApplicationMgr_OnExitApplication ()" is called...
    Naturally, this event happens when the menu "File >> Exit" is selected or when the main window close control (the "X") is clicked on. I want to do this because there are things I'd like to clean-up and close-down when the user plans to exit. I thought it would be as simple as placing the body of that callback inside a simple ConfirmPopup (). So that's the first thing I tried.
    However, at run-time, when I select the menu "File >> Exit" I get the error popup: "Application is not running (TSUI.ApplicationMgr) Unexpected Operating System Error.[Error Code: - 17501]". I disabled the Window-Close in the main window for now, just so that I could concentrate on the menu item that exits.
    So, my next step was to crawl into the "RebuildMenuBar" code and learn how to create a custom version of the enumerated "TSUIConst_CommandKind_DefaultFileMenu_Set", or at the least, understand the "CommandKinds Enumeration" in the TestStand Bookshelf and the TestStand Help file to even see if this was the proper way to go...
    So after looking at it for a while, I got to thinking that this looked like a long-winded solution to something that should be very straightforward to implement (in CVI-speak).
    I think I must be doing something wrong here. Is there a different ActiveX event I should be registering to a new callback function that I need to create?
    Any help would be appreciated,
    Jumper Bones
    To whom it may concern: My alias is also my nickname, I've had it since I was a (very) skinny basketball-playing teen. OK, so I've got a 38 inch waist now, but my hometown friends haven't shaken that appellation for me. I trust that you will someday be OK with that alias, as I have been with that nickname.

    Thanks for the quick reply, I'll be trying that soon.
    To whom it may concern: My alias is also my nickname, I've had it since I was a (very) skinny basketball-playing teen. OK, so I've got a 38 inch waist now, but my hometown friends haven't shaken that appellation for me. I trust that you will someday be OK with that alias, as I have been with that nickname.

Maybe you are looking for

  • Showing error while creating IT0000 ee record

    Hi, I am new to HR functional. Please do need full. When i am creating record in infotype 0000, it is showing error like No entry in table T503 for     779. I am giving value 7 fro employee group and 79 for employee subgroup. Is there any where that

  • Getting error while setting up Apps Server VM

    Hi All, I'm getting couple of errors while setting up the apps VM. I was following the instructions at the link given below, but Im not getting any support from there so thought of posting here... http://only4left.jpiwowar.com/2012/12/1hr-ebs-sandbox

  • How to restore individual files from a TM backup after a clean install?

    Hi to all, my teenage daughter's Mac Mini (running OSX 10.8) was cluttered with all sorts of stuff, even unwanted and inappropriate popup windows when using Safari, and more. So I made a final TM backup. Then I did a clean install of Mavericks. Now,

  • Table for Tax amount in MIR7

    Dear Experts, I have parked an invoice in MIR7.I need the table where tax data in MIR7 are updated. Is there any such table, where tax amount are stored when parking the invoices. It is very Urgent issue for me. Thanks Prasant sekhar

  • How do I install the Adobe PDF Pack Desktop Printer

    How do I install the Adobe PDF Pack desktop printer?