summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8d16be348a583b90b452774f771bc13c6f4f9f73 (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
# Maintainer: Luis Martinez <luis dot martinez at disroot dot org>
# Contributor: Francois Boulogne <fboulogne at april dot org>
# Contributor: Gaetan Bisson <bisson@archlinux.org>

pkgname=libdivecomputer
pkgver=0.7.0
pkgrel=1
pkgdesc='Library for communication with dive computers'
url='https://www.libdivecomputer.org/'
license=('LGPL')
arch=('i686' 'x86_64')
depends=('glibc')
provides=('libdivecomputer.so=0-64')
source=("$pkgname-$pkgver.tar.gz::https://github.com/libdivecomputer/libdivecomputer/archive/v$pkgver.tar.gz")
sha256sums=('26b3fcea8d0fe694456aa4ebe35da2902f109a0916693569c32a85a265ae53d2')

build() {
	cd "$pkgname-$pkgver"
	autoreconf -i
	./configure \
		--prefix=/usr \
		--program-prefix="libdivecomputer-"
	make
}

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