blob: a7860ca83668fa8b49d935da4f8fdf40c97cb36b (
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
35
36
37
38
39
40
41
42
|
# Maintainer: Alexander Pohl <alex at ahpohl dot com>
pkgname=convpot
pkgver=1.2.1
pkgrel=2
epoch=
pkgdesc="Convert potentiostat data to a SQLite database"
arch=('i686' 'x86_64')
url="https://github.com/ahpohl/convpot"
license=('MIT')
groups=()
depends=('unixodbc' 'mdbtools' 'sqlite3')
makedepends=('cmake' 'git')
checkdepends=()
optdepends=('python-plotpot: for plotting potentiostat data')
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=convpot.install
changelog=
source=("$pkgname-$pkgver::git+https://github.com/ahpohl/convpot.git#tag=v${pkgver}")
noextract=()
sha256sums=('SKIP')
validpgpkeys=()
prepare() {
cd "$pkgname-$pkgver"
cp cmake/CMakeLists.txt.linux CMakeLists.txt
}
build() {
cd "$pkgname-$pkgver"
cmake -DCMAKE_INSTALL_PREFIX=/usr .
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
|