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


pkgname=apidb-core
pkgver=5.13.18
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=('02c5dbaeb0cd59bb9864bf394377e0da')
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 -DAPIDBINSTALL=CORE ..
    make
}

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