summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 14d260b2dbe20fab8a9e164b9dcb37ce8c7e63a0 (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
# 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.4
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=("$pkgname-${pkgver}_git.tar.gz::https://github.com/maekitalo/tntdb/archive/refs/tags/V$pkgver.tar.gz")
sha256sums=('20f5d10817c0ad74f7728a0ca393337c0c73336dbc2b3273dcde22e5cc7cd76d')

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

  autoreconf -i
  ./configure --prefix=/usr \
              --disable-static \
              --without-postgresql \
              --without-replicate \
              --without-mysql
  make
}

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

  make DESTDIR="${pkgdir}" install
}