blob: 700f72eea3dde1a1fe49c1a79dcb13a268c3bcc4 (
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
|
# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz>
_pkgname='prettifier'
pkgname="${_pkgname}-git"
pkgver=1.1.4.r2.gffc7138
pkgrel=1
pkgdesc='Simple application that makes your JSON/XML requests/responses prettier to read'
arch=('x86_64')
url='https://github.com/fleury08/prettifier'
license=('MIT')
depends=('granite' 'gtksourceview3')
makedepends=('git' 'meson' 'vala')
provides=("${_pkgname}")
source=("git+${url}.git")
sha256sums=('SKIP')
pkgver() {
git -C "${_pkgname}" describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
arch-meson "${_pkgname}" build
meson compile -C build
}
package() {
DESTDIR="${pkgdir}" meson install -C build
install -Dm644 -t "${pkgdir}/usr/share/doc/${_pkgname}" "${_pkgname}/README.md"
install -Dm644 "${_pkgname}/LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# vim: ts=2 sw=2 et:
|