Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

cartaodecidadao PKGBUILD
Sunday, November 11th, 2012 at 1:50:38pm UTC 

  1. # Maintainer: n3lthon
  2. pkgname=cartaodecidadao
  3. pkgver=1.23.1
  4. pkgrel=2
  5. pkgdesc="Portuguese Citizen Card Application"
  6. arch=('i686' 'x86_64')
  7. url="http://www.cartaodecidadao.pt/"
  8. license=('custom')
  9. depends=('qt>=4.5.0' 'pcsclite>=1.5.0' 'jasper' 'openssl' 'ccid' 'openssl')
  10.  
  11. source=('https://www.portaldocidadao.pt/ccsoftware/cartaodecidadao-ubuntu-1.23.1-600.x86_64.deb'
  12.         'cartaodecidadao.install'
  13.         'Cartao de Cidadao.desktop'
  14.         'cartaodecidadao.png')
  15.  
  16. md5sums=('f50d10c874b512073833fda9620e2def'
  17.          '6a49a2c1d1a88e56731c37f30b2b531b'
  18.          '6f52674f03f58e38d93b4f4b4e67a8ec'
  19.          '3f795292e67a71f31872781b3a606862')
  20.  
  21. install='cartaodecidadao.install'
  22.  
  23. package() {
  24.   # Application Files
  25.   pushd ${srcdir}
  26.   tar xf ${srcdir}/data.tar.gz
  27.   popd
  28.   install -D -m644 ${srcdir}/usr/local/lib//libpteidpkcs11.so.${pkgver} ${pkgdir}/usr/lib/libpteidpkcs11.so.${pkgver}
  29.   install -D -m644 ${srcdir}/usr/local/lib/libpteidlibopensc.so.${pkgver}  ${pkgdir}/usr/lib/libpteidlibopensc.so.${pkgver}
  30.   install -D -m644 ${srcdir}/usr/local/lib/libpteid.so.${pkgver} ${pkgdir}/usr/lib/libpteid.so.${pkgver}
  31.   install -D -m644 ${srcdir}/usr/local/lib/libpteiddlg.so.${pkgver} ${pkgdir}/usr/lib/libpteiddlg.so.${pkgver}
  32.   install -D -m644 ${srcdir}/usr/local/lib/libpteidhttps.so.${pkgver} ${pkgdir}/usr/lib/libpteidhttps.so.${pkgver}
  33.  
  34.   ln -sf libpteidpkcs11.so.${pkgver} ${pkgdir}/usr/lib/libpteidpkcs11.so
  35.   ln -sf libpteidlibopensc.so.${pkgver} ${pkgdir}/usr/lib/libpteidlibopensc.so
  36.   ln -sf libpteid.so.${pkgver} ${pkgdir}/usr/lib/libpteid.so
  37.   ln -sf libpteiddlg.so.${pkgver} ${pkgdir}/usr/lib/libpteiddlg.so
  38.   ln -sf libpteidhttps.so.${pkgver} ${pkgdir}/usr/lib/libpteidhttps.so
  39.  
  40.   install -D -m755 ${srcdir}/usr/local/bin/pteidgui ${pkgdir}/usr/bin/pteidgui
  41.   install -D -m755 ${srcdir}/usr/local/bin/pteidtrayapplet ${pkgdir}/usr/bin/pteidtrayapplet
  42.   install -D -m755 ${srcdir}/usr/local/bin/pteiddlgsrv ${pkgdir}/usr/bin/pteiddlgsrv
  43.  
  44.   install -D -m644 ${srcdir}/usr/local/bin/imageformats/libqtjp2.so ${pkgdir}/usr/bin/imageformats/libqtjp2.so
  45.  
  46.   install -D -m644 ${srcdir}/usr/local/bin/translations/pcscerrors_pt.qm ${pkgdir}/usr/bin/translations/pcscerrors_pt.qm
  47.   install -D -m644 ${srcdir}/usr/local/bin/translations/pteiddlg_pt.qm ${pkgdir}/usr/bin/translations/pteiddlg_pt.qm
  48.   install -D -m644 ${srcdir}/usr/local/bin/translations/pteidgui_pt.qm ${pkgdir}/usr/bin/translations/pteidgui_pt.qm
  49.   install -D -m644 ${srcdir}/usr/local/bin/translations/pteidtrayapplet_pt.qm ${pkgdir}/usr/bin/translations/pteidtrayapplet_pt.qm
  50.  
  51.   install -D -m644 ${srcdir}/usr/local/include/pteid/pteidlib.h ${pkgdir}/usr/include/pteid/pteidlib.h
  52.   install -D -m644 ${srcdir}/usr/local/include/pteid/pteiddefines.h ${pkgdir}/usr/include/pteid/pteiddefines.h
  53.  
  54.   install -D -m644 ${srcdir}/usr/local/lib/pteidpp/libpteidpp1_gempc.so.${pkgver} ${pkgdir}/usr/lib/pteidpp/libpteidpp1_gempc.so.${pkgver}
  55.   ln -sf libpteidpp1_gempc.so.${pkgver} ${pkgdir}/usr/lib/pteidpp/libpteidpp1_gempc.so
  56.  
  57.   install -D -m644 ${srcdir}/usr/local/lib/pteid_jni/pteidlibj.jar ${pkgdir}/usr/lib/pteid_jni/pteidlibj.jar
  58.   install -D -m644 ${srcdir}/usr/local/lib/pteid_jni/libpteidlibj.so.${pkgver} ${pkgdir}/usr/lib/pteid_jni/libpteidlibj.so.${pkgver}
  59.   install -D -m644 ${srcdir}/usr/local/lib/pteid_jni/Test.java ${pkgdir}/usr/lib/pteid_jni/Test.java
  60.   ln -sf libpteidlibj.so.${pkgver} ${pkgdir}/usr/lib/pteid_jni/libpteidlibj.so
  61.  
  62.   install -D -m644 ${srcdir}/usr/local/bin/eidstore/certs/CartaodeCidadao001.der ${pkgdir}/usr/bin/eidstore/certs/CartaodeCidadao001.der
  63.   install -D -m644 ${srcdir}/usr/local/bin/eidstore/certs/ECRaizEstado_novo_assinado_GTE.der ${pkgdir}/usr/bin/eidstore/certs/ECRaizEstado_novo_assinado_GTE.der
  64.   install -D -m644 ${srcdir}/usr/local/bin/eidstore/certs/GTEGlobalRoot.der ${pkgdir}/usr/bin/eidstore/certs/GTEGlobalRoot.der
  65.  
  66.   # Licenses
  67. #  install -D -m644 ${srcdir}/Cartao_de_Cidadao/Licenca_PT.rtf ${pkgdir}/usr/share/licenses/${pkgname}/Licenca_PT.rtf
  68. #  install -D -m644 ${srcdir}/Cartao_de_Cidadao/License_EN.rtf ${pkgdir}/usr/share/licenses/${pkgname}/License_EN.rtf
  69. #  install -D -m644 ${srcdir}/Cartao_de_Cidadao/license_lgpl ${pkgdir}/usr/share/licenses/${pkgname}/license_lgpl
  70. #  install -D -m644 ${srcdir}/Cartao_de_Cidadao/license_openssl ${pkgdir}/usr/share/licenses/${pkgname}/license_openssl
  71. #  install -D -m644 ${srcdir}/Cartao_de_Cidadao/README ${pkgdir}/usr/share/${pkgname}/README
  72. #  install -D -m644 ${srcdir}/Cartao_de_Cidadao/VERSION ${pkgdir}/usr/share/${pkgname}/VERSION
  73.  
  74.   # Icon and Desktop Files                 
  75.   install -D -m644 ${srcdir}/cartaodecidadao.png ${pkgdir}/usr/share/icons/hicolor/256x256/apps/cartaodecidadao.png
  76.   install -D -m644 ${srcdir}/usr/share/applications/Carto\ de\ Cidado.desktop ${pkgdir}/usr/share/applications/Cartao\ de\ Cidadao.desktop
  77.   install -D -m644 ${srcdir}/usr/share/applications/Aplicao\ da\ rea\ da\ Notificao.desktop ${pkgdir}/usr/share/applications/Aplicao\ da\ rea\ da\ Notificao.desktop
  78. }

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right
worth-right
worth-right