summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ff15f8b732b226bb70002e255e4f4f9df46c5c96 (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
# Maintainer: Azael Reyes <azael.devel@gmail.com>

pkgname=apidb
pkgver=5.15.0
phase=alpha
pkgrel=1
pkgdesc="API Generator for Database acces."
arch=('x86_64')
license=('GPL')
url="https://github.com/azaeldevel/apidb"
depends=('octetos-db-abstract' 'libxml2' 'boost' 'bison' 'flex' 'libtar' 'librsvg' 'cmake' 'cunit')
md5sums=('4910074cdb5a44a08180df2075a69082')
source=(https://github.com/azaeldevel/apidb/archive/${pkgver}-${phase}.tar.gz)
conflicts=('apidb')

build() {
    cd apidb-${pkgver}-${phase}
    mkdir build
    cd build
    cmake -DCMAKE_INSTALL_PREFIX=/usr -DAPIDB_VERSION_STAGE=${phase} -DPLATFORM=LINUX_ARCH -DAPIDBBUILD="CORE;COMMANDS;GTK3" -DAPIDBINSTALL="CORE;COMMANDS;GTK3" ..
    make
}

package() {
  cd apidb-${pkgver}-${phase}/build
  make DESTDIR="$pkgdir" install
}