blob: 08281adb1e7e805a8f32aceaac8aa3419278f7eb (
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.10
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=('027b77ab7c06458b73cbcf1f06f9cf73b65acdbb2ac170b234c1d736069acae4')
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
}
|