summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c53bf56fd3024145a731c161f28563ab8fab2fe5 (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
# Maintainer: Guillaume Horel <guillaume.horel@gmail.com>

pkgname=belcard
pkgver=5.3.4
pkgrel=2
pkgdesc="A library for working with vCards"
arch=('x86_64')
url="http://www.linphone.org/"
license=('GPL')
depends=("belr>=$pkgver" 'gcc-libs')
makedepends=('cmake')
source=("belcard-$pkgver.tar.gz::https://github.com/BelledonneCommunications/belcard/archive/$pkgver.tar.gz")
sha256sums=('6c846b1c4be8a48e96a060f540e80551a2c678f2ecc1781384d3711ae8f2586f')

build() {
  cmake -B build -S "$pkgname-$pkgver" \
      -DCMAKE_PREFIX_PATH="/usr/lib" \
      -DCMAKE_INSTALL_PREFIX="/usr" \
      -DBUILD_SHARED_LIBS=YES \
      -DENABLE_UNIT_TESTS=NO
  make -C build
}

package() {
  make -C build DESTDIR="${pkgdir}" install
}