blob: b8f950ce0df8a9b49b98b27363d463b23338c7fb (
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
|
# Maintainer: Sven Schneider <archlinux.sandmann@googlemail.com>
pkgname=wjelement
pkgver=1.1
pkgrel=1
pkgdesc="JSON manipulation in C including reading, writing and validation"
arch=('i686' 'x86_64')
url="https://github.com/netmail-open/wjelement/wiki"
license=('LGPL')
depends=('bash' 'rlwrap')
makedepends=('cmake')
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/netmail-open/wjelement/archive/v${pkgver}.tar.gz)
sha512sums=('b9c0214c0136e1cf188d0c6967c14f97632cb176f2d889019bc4932424d95bb6372e69951bada57fc8fe0b6c7997c74244d1e631a9ce2ad5833ddc1dcc462e74')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cmake -DCMAKE_INSTALL_PREFIX=/usr .
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -dm 755 "${pkgdir}/usr/share"
mv "${pkgdir}/usr/doc" "${pkgdir}/usr/share/doc"
}
|