summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cdc246edaffa43d4e0f5c408f48399178ea2ccac (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
# Maintainer: Mohammadreza Abdollahzadeh <morealaz at gmail dot com>
pkgname=libdali
pkgver=1.8
pkgrel=3
pkgdesc="The C library for the DataLink protocol."
arch=("x86_64")
url="https://github.com/iris-edu/libdali"
license=('Apache-2.0')
makedepends=('doxygen')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('aaa2fb08eb688d6b39093b2a93c7edba44551a1465a5e338cc258a715ccf681e')

build() {
	cd "${pkgname}-${pkgver}"
	make shared
	cd doc
	doxygen -u
	doxygen
}

package() {
	cd "${pkgname}-${pkgver}"
	make DESTDIR="${pkgdir}/" PREFIX="/usr" install
	install -d ${pkgdir}/usr/share/doc/${pkgname}
	cp -r doc/gh-pages ${pkgdir}/usr/share/doc/${pkgname}/html
}
# vim:set ts=4 sw=4 et: