summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f89f997ff617cb547f9081188c2a2bf3105d1d99 (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
# This PKGBUILD is part of the VDR4Arch project [https://github.com/vdr4arch]

# Maintainer: Christopher Reimer <mail+vdr4arch[at]c-reimer[dot]de>
pkgname=tntdb
pkgver=1.3
pkgrel=2
pkgdesc="C++-class-library for easy access to databases (only sqlite support)"
url="http://www.tntnet.org"
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h')
license=('GPL2')
depends=('cxxtools' 'sqlite')
source=("http://www.tntnet.org/download/${pkgname}-${pkgver}.tar.gz")
md5sums=('31d16243566fe226119e40e194119b44')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr \
              --disable-static \
              --without-postgresql \
              --without-replicate \
              --without-mysql
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make DESTDIR="${pkgdir}" install
}