summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 75a0af30ddea763d7f39c3628ef4e6f2cc102b88 (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
# Maintainer: Gokberk Yaltirakli <aur at gkbrk dot com>
# Contributor: Caltlgin Stsodaat <contact@fossdaily.xyz>

pkgname='hourglass'
pkgver=3.1.0
pkgrel=1
pkgdesc='Simple clock application that provides stopwatches, alarms, and timers'
arch=('x86_64')
url='https://github.com/sgpthomas/hourglass'
license=('GPL3')
depends=('gtk4' 'libgee' 'granite7' 'libportal-gtk4')
makedepends=('meson' 'vala')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
sha256sums=('b58104bc983a329ca0036d7df974828f7fd4659ac425e33d02de8c46a2c571d9')

build () {
    cd "${pkgname}-${pkgver}"
    meson build --prefix=/usr
    cd build
    ninja
}

package () {
    cd "${pkgname}-${pkgver}"
    cd build
    DESTDIR="${pkgdir}" ninja install
    cp "${pkgdir}/usr/bin/com.github.sgpthomas.hourglass" "${pkgdir}/usr/bin/hourglass"
}