blob: b127675243e899b1701fa4b7717ad6c5ddb56659 (
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
|
# Maintainer: Nick Østergaard <oe.nick at gmail dot com>
pkgname=liblxi-git
pkgver=r169.3edd961
pkgrel=1
pkgdesc="LXI library"
arch=('i686' 'x86_64')
url="https://github.com/lxi/liblxi"
license=('BSD-3')
provides=('liblxi')
conflicts=('liblxi')
depends=('libxml2' 'avahi' 'libadwaita')
makedepends=('git' 'meson')
optdepends=('lxi-tools')
source=("$pkgname::git+https://github.com/lxi/liblxi")
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 --wrap-mode=nofallback . build
meson compile -C build
}
package() {
cd "$srcdir/$pkgname"
meson install -C build --destdir "$pkgdir"
}
# vim:set ts=2 sw=2 et:
|