summaryrefslogtreecommitdiff
path: root/pcr/belcard/PKGBUILD
blob: beb711260bc360568358b3cd2cb8f8ff15671bde (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: David P. <megver83@parabola.nu>

pkgname=belcard
pkgver=4.4.0
pkgrel=1
pkgdesc='A library for working with vCards'
arch=(x86_64 i686)
url='http://www.linphone.org/'
license=(GPL)
depends=(belr gcc-libs)
makedepends=(cmake)
source=("https://gitlab.linphone.org/BC/public/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('7283334681eb83b7461446dd3aa21ab97450b7a47a06c5fc1fd24bd9987e0996')

build() {
  mkdir -p build
  cd build

  cmake -DCMAKE_PREFIX_PATH=/usr/lib \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DENABLE_STATIC=NO \
        "../$pkgname-$pkgver"
  make
}

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