summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1de0125b3f2994b8f4bec1c617134fea09f15dd3 (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
# Maintainer: lonaowna
# Contributor: Xandaros
pkgname=libcoap
pkgver=4.3.5
pkgrel=1
pkgdesc="C-Implementation of CoAP"
arch=('x86_64' 'aarch64' 'armv7h')
url="https://libcoap.net/"
license=('BSD2' 'GPL2')
makedepends=('git' 'doxygen' 'asciidoc')
provides=('coap-client' 'coap-rd' 'coap-server')
source=("https://github.com/obgm/libcoap/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('a417ed26ec6c95c041b42353b5b6fad1602e2bf42a6e26c09863450e227b7b5f')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./autogen.sh
  ./configure --prefix="/usr"
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" PREFIX="/usr" install
}