blob: 5bb4454ac67feaa4450af925855bb1134c3a4dbd (
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: wackbyte <wackbyte@protonmail.com>
_pkgname=hare-toml
pkgname=hare-toml-git
pkgver=0.1.2.r4.gef9afe0
pkgrel=2
pkgdesc='TOML implementation for Hare'
arch=('any')
url="https://codeberg.org/lunacb/${_pkgname}"
license=('MIT')
depends=('hare')
makedepends=('git')
provides=("hare-toml=${pkgver}")
conflicts=('hare-toml')
source=("git+${url}")
md5sums=('SKIP')
pkgver() {
cd $_pkgname
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
check() {
cd $_pkgname
make check
}
package() {
cd $_pkgname
make DESTDIR="${pkgdir}" PREFIX=/usr install
}
|