blob: 3bad201443c79be803701642d2a5b30f37bc67bb (
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
|
# Maintainer: Nick Østergaard <oe.nick at gmail dot com>
pkgname=lxi-tools-git
pkgver=r638.88a700d
pkgrel=1
pkgdesc="LXI Tools is a collection of software tools for controlling LXI instruments"
arch=('i686' 'x86_64')
url="https://github.com/lxi/lxi-tools"
license=('BSD-3')
provides=('lxi-tools')
conflicts=('lxi-tools')
depends=('liblxi-git' 'lua53' 'gtk4>=4.5.0' 'gtksourceview-git')
makedepends=('git' 'meson')
source=("$pkgname::git+https://github.com/lxi/lxi-tools")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$pkgname"
meson --prefix=/usr --buildtype=plain -Dgui=true . build
meson compile -C build
}
package() {
cd "$srcdir/$pkgname"
meson install -C build --destdir "$pkgdir"
}
# vim:set ts=2 sw=2 et:
|