blob: 4244586f633249cb5834d3ebe7976d5ebebd873f (
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
33
34
35
|
# Contributor: Calogero e Angelo ScarnĂ <info@codelinsoft.it>
# Update and change name fabariagest to fabaria_gest
pkgname=fabaria
_pkgname=fabariagest
pkgver=2.0
pkgrel=4
pkgdesc="Gestionale aziendale."
url="https://www.codelinsoft.it/sito/2013-11-17-17-56-34/fabariagest.html"
arch=('x86_64')
depends=('qt5-base' 'qt5-connectivity' 'qt5-declarative' 'qt5-graphicaleffects' 'qt5-multimedia' 'qt5-svg' 'qt5-tools' 'qt5-translations' 'qt5-webkit' 'qt5-websockets' 'qt5-x11extras' 'qt5-xmlpatterns' 'mariadb' 'cmake' 'zlib' 'nspr' 'lsb-release' )
license=(LGPL)
source=('git+https://github.com/kratos83/FabariaGest')
md5sums=("SKIP")
build() {
mv FabariaGest ${_pkgname}-${pkgver}
cd "${srcdir}/fabariagest-${pkgver}"
cmake -DCMAKE_INSTALL_PREFIX=/opt/fabaria_gest -DCMAKE_INSTALL_LIBDIR=/opt/fabaria_gest/lib
make -j5
}
package() {
cd ${srcdir}/fabariagest-${pkgver}
make DESTDIR=$pkgdir install
install -d "$pkgdir"/opt/fabaria_gest/installdb/
install -d "$pkgdir"/opt/fabaria_gest/updatedb/
install -d "$pkgdir"/opt/fabaria_gest/lib/
cp -rv "${srcdir}/fabariagest-${pkgver}/fabaria/installdb/install_db.sql" "${pkgdir}/opt/fabaria_gest/installdb/"
cp -rv "${srcdir}/fabariagest-${pkgver}/fabaria/updatedb/update_db.sql" "${pkgdir}/opt/fabaria_gest/updatedb/"
cp -rv "${srcdir}/fabariagest-${pkgver}/fabaria/images/logo4.png" "${pkgdir}/opt/fabaria_gest/"
}
post_install() {
install -Dm 755 /usr/bin/fabaria
}
|