blob: c719ac843ac8d838bd4719040a7a04ae467cf8ca (
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
|
# Contributor: Francois Boulogne <fboulogne at april dot org>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
pkgname=subsurface-libdc-git
_pkgname=libdc
pkgver=20190907.ce6d989
pkgrel=1
pkgdesc='Library for communication with dive computers'
url='https://github.com/Subsurface-divelog/libdc'
license=('LGPL')
arch=('x86_64')
source=('git+https://github.com/Subsurface-divelog/libdc#branch=Subsurface-NG')
sha256sums=('SKIP')
makedepends=('git')
conflicts=('subsurface-libdc')
provides=('subsurface-libdc')
pkgver() {
cd "${srcdir}/${_pkgname}"
git log -1 --format='%cd.%h' --date=short | tr -d -
}
build() {
cd "${srcdir}/${_pkgname}"
autoreconf --install
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${_pkgname}"
make DESTDIR="${pkgdir}" install
}
|