How do you replicate `make install` in the package() section

I've got myself confused in how to package something that uses cmake.
Here's what I have so far.
pkgname=gonepass
pakgver=git
pkgrel=1
pkgdesc="A GTK+ 1Password viewer"
arch=('x86_64' 'i686')
licence="Apache 2.0"
url="https://github.com/jbreams/gonepass"
depends=('gtk3'
'openssl'
'jansson'
'pkg-config'
'cmake')
source=("git+https://github.com/jbreams/gonepass")
sha256sums=('SKIP')
pkgver() {
cd gonepass
git log -n 1 --pretty=format:"%H"
build() {
cd ${pkgname%-*}
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr/bin ..
make
package() {
make install
What should I be doing in `package()`.
P.S. I also need to work out how to do the package versioning properly but one issue at a time

So the authors PKGBUILD already on the AUR doesn't work. In an attempt to get mine working I've edited it to this:
pkgname=gonepass-git
pkgver=r22.0931c63
pkgrel=1
pkgdesc='A GTK+ 1Password viewer'
arch=('x86_64')
licence=('Apache2')
url='https://github.com/jbreams/gonepass'
depends=('gtk3'
'openssl'
'jansson')
makedepends=('cmake')
source=("git+https://github.com/jbreams/gonepass")
sha256sums=('SKIP')
pkgver() {
cd gonepass
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
build() {
cd gonepass
if [ ! -d build ]; then
mkdir build
fi
cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
make
package() {
cd gonepass/build
make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=${pkgdir} install
but still get this "error" on running `makepkg`:
==> Starting package()...
[100%] Built target gonepass
Install the project...
-- Install configuration: ""
-- Installing: /home/jonny/builds/gonepass/pkg/gonepass-git/usr/share/glib-2.0/schemas/gonepassapp.gschema.xml
-- Compiling GSettings schemas
Failed to create file '/usr/share/glib-2.0/schemas/gschemas.compiled.0N2WWX': Permission denied
-- Installing: /home/jonny/builds/gonepass/pkg/gonepass-git/usr/bin/gonepass
Anyone know how to stop it trying to compile the gsetting scemas?
EDIT: fixed this by changing to simple make DESTDIR="$pkgdir" install, and adding -DGSETTINGS_COMPILE=OFF to the cmake command.
Last edited by jonnybarnes (2015-04-08 15:53:54)

Similar Messages

  • How do you delete duplicate photos in the photo section of your iPad?

    How do you delete duplicate photos in the photo section of your iPad?  My iPad has duplicated n tripled my photos n want let me delete them.  I can delete photos from any other section but not in photos, this is taken up all my memory. Help!!

    The links below have instructions for deleting photos.
    iOS and iPod: Syncing photos using iTunes
    http://support.apple.com/kb/HT4236
    iPad Tip: How to Delete Photos from Your iPad in the Photos App
    http://ipadacademy.com/2011/08/ipad-tip-how-to-delete-photos-from-your-ipad-in-t he-photos-app
    Another Way to Quickly Delete Photos from Your iPad (Mac Only)
    http://ipadacademy.com/2011/09/another-way-to-quickly-delete-photos-from-your-ip ad-mac-only
    How to Delete Photos from iPad
    http://www.wondershare.com/apple-idevice/how-to-delete-photos-from-ipad.html
    How to: Batch Delete Photos on the iPad
    http://www.lifeisaprayer.com/blog/2010/how-batch-delete-photos-ipad
    (With iOS 5.1, use 2 fingers)
    How to Delete Photos from iCloud’s Photo Stream
    http://www.cultofmac.com/124235/how-to-delete-photos-from-iclouds-photo-stream/
     Cheers, Tom

  • I can't download Akamai NetSession because when the window opens to "How do you want to install tis software?" the continue button is greyed out.

    Please help me with this problem. I just purchased an upgrade for CS6 and I can't even download the software that allows me to download the actually Adobe products.

    I have a MacBook Pro Retina display. I purchase in 2011 CS5 design standard. Yesterday, I purchased CS6 design standard and Adobe sent me an email with a link to the download. I clicked on the link and it goes to my account but when I click on the download program it allows me to go as far as "Select a Destination." But under "How do you want to install this software? It show one choice but I can click on it to make the "continue" button show up.

  • When inserting a .pdf of a document with a standard white paper color the test and images show up, but the white background is transparent. How do you also make the white paper color show up?

    When inserting a .pdf of a document into a Keynote template with a standard white paper color the text and images show up, but the white background is transparent. How do you also make the white paper color show up?

    Use the color fill option - select the inserted .pdf and assign a fill color of white to it using the Color Fill Menu on the Toolbar or the Color Picker Palette.
    Good Luck.

  • How do you change image size in the title window?

    I just changed operating systems to Windows 7, which meant that I had to re install Premiere Pro CS4. I am now working on a 64 bit system. Might not make any difference, but thought I would give you the specifics just in case.  When I pull up the title window to add a title to my clip, the image is about the size of a postage stamp. How do I increase the size of the image in that window?

    Thank you again for responding Hunt. I did find out what what was happening.
    I had to reinstall the program on my computer. I just upgraded to Windows 7, and I now have a 64 bit system. When I booted up PPCS4, I assumed that my settings would be the same as they were before when I had Vista installed and didn't bother to check them when I started a new project. Well, they were not. I also added a TV tuner card to my computer. I now can watch HD TV on my computer. I suppose that it is possible that somehow PPCS4 noticed that, and set my default settings to HD, rather than NTSC DV. I just merrily went along clicking the OK button and started editing. When I start a new project now, I select NTSC DV and the Title window works just fine, and exactly the way I expect it to.
    I just received Jeff Bellune's book Adobe Encore DVD 2.0 in the mail and will be totally immersed in Encore studies today. With all of his children, I don't see how he had time to write it, but I'm glad that he did. I also ordered a book entitled Designing Menus with Encore DVD. I know that it was written for an earlier version than CS4, but I will trust what you said about that. Many things are the same with some minor variations due to upgrades in the program. The basic ideas don't change, but how you accomplish them can, and usually do over time.
    Terry Lee Martin
    Date: Mon, 17 Aug 2009 16:04:16 -0600
    From: [email protected]
    To: [email protected]
    Subject: how do you change image size in the title window?
    Welcome to the forum.
    That is an odd one. The Title should be the same Frame Size as your Project/Sequence. What is it's Frame Size? Also, are you perhaps doing a Title based on an older Template, that was done for a different Frame Size?
    What happens if you choose Title>New Title>Default Still?
    Good luck,
    Hunt
    >

  • How do you disable voice announcements on the Gusto 3 ?

    How do you disable Voice Announcements on the Gusto 3 >

        Thanks for reaching out to us, tobrien459! May I ask what readouts you are getting in order for me to make sure I provide you with the most accurate information?
    I'm thinking you are looking for this:
    From the Home screen, press the Left Soft Key
    Menu > Settings > Accessibility > Easy Set-up.
    2. Follow the screen prompts to choose settings for
    Full Readout, Menu Readout, Digit Dial Readout,
    Alert Readout, TXT Message Readout, Browser
    Readout, and Flip Open & Talk
    Let me know if this is what you need.
    TamaraH_VZW
    Follow us on Twitter @VZWSupport

  • We are evaluating the use of iPod touch devices to record best practice videos on our manufacturing floor and to post to an internal Moodle web site. How can you upload a video from the iPod touch to a site other than YouTube?

    We are evaluating the use of iPod touch devices to record best practice videos on our manufacturing floor and to post to an internal Moodle web site. How can you upload a video from the iPod touch to a site other than YouTube? The Moodle upload interface is expecting a file selection dialog box like windows or OSX. I do not want to have to go through an intermediary step of messing with a pc.
    Thanks!

    It should be around 7 and a half gigs. In iTunes, across the bottom there should be a bar that show how much storage is being used and by what. (music, movies, apps, etc.) To make music take up less room, you can check the box to make it convert the music to 128kbps AAC. This lowers the quality, but with most earbuds and speakers, you can't even tell the difference.
    The iPod touch has parental controls built in. You'll find them in Settings. I think they only work for enabling/disabling Safari, Mail, YouTube, and App Store. Here's an app that does more: http://www.mobicip.com/online_safety/ipod_touch

  • In iTunes 11 how do you get Genius recommendations from the iTunes store

    In iTunes 11 how do you get Genius recommendations from the iTunes store. It would appear that I can only get Genius recommendations from my own library. This was easy in iTunes 10 and enabled me to find lots of good artists I had never heard of.

    I have this same question and all I have found on it is this,
    http://ipod.about.com/od/advanceditunesuse/ss/genius_store.htm
    Basically it seams they got rid of the whole side bar concept of things to make it all more streamline, understandable but I know atleast for myself that genius sugestion for any song is how I found new artists and songs I never knew existed.
    If you go to the Album the go to "In the Store" it will give you a recomendation for that album... not exaclty what you might be looking for but atleast its something, if anyone else has a way to get genius sugestions for individual songs I am all ears and would love to hear about it.

  • 5.1 SP10 How do you programmatically make a datasource from a dynamically created Pool?

    How do you programmatically make a data source from a dynamically created Pool?
    I can make the Pool OK but can not find any classes the return a datasource
    given a JDBC Pool.
    Thanks in advance

    Hi John,
    weblogic 5.1 doesn't have API allowing dynamic creation
    of datasources. 6.1 does.
    Regards,
    Slava Imeshev
    How do you programmatically make a data source from a dynamically createdPool?
    >
    I can make the Pool OK but can not find any classes the return adatasource
    given a JDBC Pool.
    Thanks in advance

  • HT1918 How do you solve an issue with the card? I don't get the option of 'none' :(

    How do you solve an issue with the card? I don't get the option of 'none'

    I had this exact same problem with the new iPhone I bought on 1/4/13. The walk through they provide on how to do this is useless because it fails to explain that if you are already having the problem of not getting the "None" payment option with an Apple ID then you will need to create a completely new Apple ID.
    I had to do this 7 times since I bought my iPhone on Friday until this morning to figure out how to finally be able to use the Home Sharing option in iTunes to put my music collection on my brand new $500.00 iPhone. Pretty pathetic if you ask me but since it made me so angry I want to make sure other know how to do this so you don't get as upset as I did.
    #1 If your current or soon to be "old" Apple ID is not providing the option for "None" as a payment option then you need to make a brand new one. But you have to make it specifically how I tell you.
    #2 You will need to use an email address that has not already been used for anything related to a previous Apple ID. You might need to make a brand new email address.
    #3 Open iTunes, then open iTunes Store (upper right corner of iTunes).
    #4 Click on App Store (upper center of screen).
    #5 Scroll down the screen page until you see Top Free Apps on the right side.
    #6 Choose any one of the FREE apps.
    #7 You should either get the option to create a new Apple ID box, either that, or it will pop up with some kind of disclaimer and then it does the create new Apple ID.
    Either way just create a new Apple ID when it gives you the option to and then when you get to the page that looks like the payment page the "None" payment option will finally be available.
    Note: You will still have to fill out the information on the payment page. As long as you choose the "None" option it will not request any credit card information.
    #8 You will be sent a confirmation email to the new email account. Just follow through with what ever it tells you and viola now you can use your Apple Device.
    What a pain in the keester, eh?

  • How do you show thumbnail images for the contacts?

    How do you show thumbnail images for the contacts on the iPod?
    -Thank You

    In another thread I posted a suggestion to try when the iPhoto app in the Application folder will not work:
    after upgrading the OS, iPhotos (and Aperture for that matter) should still be in the Applications folder...
    And running well in 10.10.3.
    If it stops running in a next "update" do not throw it away: most apps will continue running as follows:
    In the Applications folder "rightclick" (CTL+click) the iPhoto app, then "show package contents", then click the MacOs folder open: you see the real app (dark grey), rightclick this and choose "make alias", an alias is made, move this alias to the Applications folder and use it to run iPhoto.
    Same for Aperture.
    In older OS this survived several upgrades....
    Lex

  • Access 2003 - Repeated "You cant make changes to the database" error

    Hey all,
    Im having a very strange problem with Microsoft Access 2003, we work with old databases and when we open them up through Access 2003 we get the message "you cant make changes to the database objects" error, which is expected. However the laptop has started to repeat this message over and over about 8 times after the first time you click on it. Its very annoying to have to keep clicking to get rid of the error message. Its a very strange problem, any ideas on how to solve this or even to explain what might of happened will be appreciated.
    Thanks in advance
    P.S. It is not an option to update the database, we work with a program that uses an old 97 database and if you update the database the program will stop working.

    Hi
    Firstly it doesnt seem that this is a Toshiba notebook fault.
    This sounds more like a Microsoft issue.
    I would recommend checking the Microsoft knowledge base articles or/and contact the Microsoft support.
    I have investigated a little bit and found these pages. Maybe you will find useful infos.
    http://www.smartcomputing.com/Editorial/article.asp?article=articles/WebOnly/TechSupport/420w10/20w01.asp&guid
    http://support.microsoft.com/kb/824260/
    http://support.microsoft.com/?scid=kb;en-us;824278&spid=2509&sid=98
    Good luck

  • HT4515 how do you erase a photo from the Camera Roalbumll and still keep it in a selected

    How can you erase a phote from the camera roll and not delete from the selected album you moved it to

    You don't. There is only one picture.  if you delete it from Camera Roll then it will be gone.  Just as a song is in your library and that exact same song is in a playlist, a pic is in the camera roll and that exact same photo can be accessed from a album that you make.
    The pic is not moved to the album, the album is simply a playlist.  the pic lives in the camera roll.

  • I have forgotten my security question answers and my recovery emails aren't coming through. Apple won't or are unable to resolve so how do i now make purchases on the ipod touch?

    i have forgotten my security question answers and my recovery emails aren't coming through. Apple won't or are unable to resolve so how do i now make purchases on the ipod touch?

    Wont/Unable as in you were not able to verify information?
    Basicly the only way Account Security is not able to reset your security questions is because
    1 - You do not remember your password
    2 - You were unable to verify any information which is required
    If you do not remember your password - until your password is either remembered or reset - will not be able to reset questions via Support
    If you know your password - then if you are unable to verify any information regarding your account your questions will not be reset.
    I apologize - If the information above is not the case try calling back in.

  • How do you add safari favourites with the new iOS?

    How do you add safari favourites with the new iOS?

    Do you mean you want to sync your desktop Safari bookmarks to iOS? This is done in iTunes when you sync the iOS device. There is a box to check to make this happen.

Maybe you are looking for

  • Feature not enabled: OLAP Window Functions

    I was trying to use the RANK function in oracle 8i when I got this message ORA-00439: feature not enabled: OLAP Window Functions Where do I enable this feature? there isn't enough detail available for this in documentation. Any help will be appriciat

  • /dev/hme and /dev/ip trace/log messages

    Hi, I want to enable debug messages from above drivers. I tried setting "ip_debug" flag using "ndd" but I did not see any debugging messaged in "/var/adm/messages". Where does IP send its debug messages? How about /dev/hme? Is there any debug facilit

  • WebDynPro and Knowledge Management (KM) API

    Dear All, I am designing some User Interfaces to access KM Content using WebDynPro. But I cannot get the user (from EP, you can get it like <b>request.getUser()</b>). But in WebDynPro the request object is not available and so I cannot get the <b>com

  • First post! Hard drive space available

    I've searched mac forums and other but I can't figure this out! Myd dad bought my macbook pro and I thought, until very recently, that it had a 60GB HD as this is what Activity Monitor always told me, as you can see below. Once I get close to 60GB I

  • LabVIEW 2010 64 bit Evaluation Download Error

    After downloading the 890 MB file from NI, I ran the installer and received the following error: Zip damaged: file c:\national instrument downloads\labview 64-bit\2010\products\labview64\part04\mib.cab: Bad CRC. Possible cause: file transfer error. I