summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a686208d17018b99c4cf30fb2e81205c0a54d805 (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
# Maintainer: Deon Spengler <deon at spengler dot co dot za>
# Contributor:  DJ Lucas <dj@linuxfromscratch.org>
# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>

pkgname=libwbxml
pkgver=0.11.8
pkgrel=1
pkgdesc="Library and Tools to parse, encode and handle WBXML documents"
arch=('x86_64')
url="https://github.com/libwbxml/libwbxml"
license=('LGPL')
depends=('expat')
makedepends=('cmake' 'check')
source=(https://github.com/libwbxml/libwbxml/archive/refs/tags/$pkgname-$pkgver.tar.gz)
sha256sums=('a6fe0e55369280c1a7698859a5c2bb37c8615c57a919b574cd8c16458279db66')

prepare() {
  cd libwbxml-libwbxml-$pkgver
  sed '/AUTHORS/d' -i CMakeLists.txt

  mkdir -p build
  cd build
  cmake .. -DCMAKE_INSTALL_PREFIX=/usr
}

build() {
  cd libwbxml-libwbxml-$pkgver/build
  make
}

package() {
  cd libwbxml-libwbxml-$pkgver/build
  make DESTDIR=${pkgdir} install
}