summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ebd13333087175482ae27c3eb6487f2d9c3965cf (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
# Maintainer: Mattia Borda <mattiagiovanni.borda@icloud.com>

pkgname=desktop-files-creator
pkgver=1.2.7
pkgrel=1
pkgdesc='Simple app to create desktop files on GNU/Linux'
url=https://github.com/alexkdeveloper/$pkgname
arch=(any)
license=(GPL3)
depends=(libadwaita)
checkdepends=(appstream-glib)
makedepends=(git meson vala)
source=(git+$url#tag=$pkgver)
b2sums=('0cca6c841977bcd3016fe4141015cafce42ff2b6bfb4db2678a1513211b04a1a9735b204c7ed93e14de6a0dc22e3c4381bd9bf52b44f084cc1b8816534b3883a')

prepare() {
        sed -i "s/'validate'/'validate-relax'/" $pkgname/data/meson.build
}

build() {
        arch-meson $pkgname build
        meson compile -C build
}

check() {
        meson test -C build --print-errorlogs
}

package() {
        meson install -C build --destdir "$pkgdir"
}