summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 85c505f036184a3d00336b858300353f5ae8b645 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Contributor: Calogero e Angelo ScarnĂ  <info@codelinsoft.it>
pkgname=codicefiscale
pkgver=2.2.1
pkgrel=2
pkgdesc="The tax code in Italy is an alphanumeric code with a fixed length of 16 characters, inspired by the use of library, which is used to uniquely identify the tax and administrative citizens." 
url="http://www.codelinsoft.it/sito/2013-11-17-17-56-34/codice-fiscale.html"
arch=('i686' 'x86_64')
depends=('qt4')
license=(LGPL)
source=(http://www.codelinsoft.it/sito/download/categoria-linux/CodiceFiscale/codice-fiscale-source.raw)
md5sums=("5f1ddab88c84b972f9bca075cdaf6ebf")



build() {
cd "${srcdir}/${pkgname}-${pkgver}"
qmake-qt4 
make -j5
}

package() {
cd "${srcdir}/${pkgname}-${pkgver}"
install -d "$pkgdir"/opt
install -dm 755 ${pkgdir}/opt/codicefiscale
cp -rv  "${srcdir}/${pkgname}-${pkgver}/cod_fisc/codicefiscale" "${pkgdir}/opt/codicefiscale/"
cp -rv  "${srcdir}/${pkgname}-${pkgver}/cod_fisc/update" "${pkgdir}/opt/codicefiscale/"
cp -rv  "${srcdir}/${pkgname}-${pkgver}/cod_fisc/images/codicefisc.png" "${pkgdir}/opt/codicefiscale/"
install -Dm644  "${srcdir}/${pkgname}-${pkgver}/cod_fisc/desktop/codicefiscale.desktop" "${pkgdir}/usr/share/applications/codicefiscale.desktop"


}