summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5896f91eb3acafd4125aaace610d98de9b9378d5 (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
32
33
34
35
# Mantainer: sgar < swhaat at github >

pkgname=libcapi
pkgver=3.2.3
pkgrel=2
pkgdesc="Modular libcapi20"
arch=('i686' 'x86_64')
url="https://www.tabos.org/"
license=('GPL2')
conflicts=(isdn4k-utils)
makedepends=(meson git)
options=('!emptydirs')

source=(
  "git+https://gitlab.com/tabos/${pkgname}.git#tag=v${pkgver}"
)
sha512sums=(
  'SKIP'
)

build() {
  cd "${srcdir}/${pkgname}"
  meson --prefix /usr --buildtype=plain "builddir"
  ninja -v -C "builddir"
}

check() {
  cd "${srcdir}/${pkgname}"
  ninja -C "builddir" test
}

package() {
  cd "${srcdir}/${pkgname}"
  DESTDIR="$pkgdir" ninja -C "builddir" install
}