blob: 2bbd3fb13c424c8f2b7aaed329ffb16fd520001c (
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: Luis Martinez <luis dot martinez at disroot dot org>
# Contributor: Caltlgin Stsodaat <contact@fossdaily.xyz>
pkgname=dippi-git
pkgver=4.0.0.r1.g8fc23f4
pkgrel=1
pkgdesc='Calculate display info like DPI and aspect ratio'
arch=('x86_64')
url='https://github.com/cassidyjames/dippi'
license=('GPL3')
depends=('gtk4' 'libadwaita')
makedepends=('git' 'meson' 'vala')
provides=('dippi')
conflicts=('dippi')
source=("$pkgname::git+$url")
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"
}
# vim: ts=2 sw=2 et:
|