summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGokberk Yaltirakli2021-12-18 00:35:05 +0300
committerGokberk Yaltirakli2021-12-18 00:35:05 +0300
commitcef74074c6d118afcb04da065a44ef86f68f47d1 (patch)
tree9333b56853ee63b4c65060ea9d28a68b1347131d
parentf23272bda3f769cb13cd2dc6d01d7fc010baa23e (diff)
downloadaur-hourglass.tar.gz
Update to v2.0.2
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD27
2 files changed, 19 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bdc1396414a..6db7017e065 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = hourglass
pkgdesc = Simple clock application that provides stopwatches, alarms, and timers
- pkgver = 1.2.3
+ pkgver = 2.0.2
pkgrel = 1
url = https://github.com/sgpthomas/hourglass
arch = x86_64
@@ -9,8 +9,8 @@ pkgbase = hourglass
makedepends = vala
depends = granite
depends = libnotify
- source = hourglass-1.2.3.tar.gz::https://github.com/sgpthomas/hourglass/archive/1.2.3.tar.gz
- sha256sums = 37621049ff33ad10db9e1a7e011a9b47db4166ffeb3df3b0d6309961e5b8e798
+ depends = libhandy
+ source = hourglass-2.0.2.tar.gz::https://github.com/sgpthomas/hourglass/archive/2.0.2.tar.gz
+ sha256sums = a4d9dcb95ab3b41b6e4f60d1fa5d83f70d5b533a5e1e579ba63e0830d55c4208
pkgname = hourglass
-
diff --git a/PKGBUILD b/PKGBUILD
index 678734393bb..bb5f400163d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,28 @@
-# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz>
+# Maintainer: Gokberk Yaltirakli <aur at gkbrk dot com>
+# Contributor: Caltlgin Stsodaat <contact@fossdaily.xyz>
pkgname='hourglass'
-pkgver=1.2.3
+pkgver=2.0.2
pkgrel=1
pkgdesc='Simple clock application that provides stopwatches, alarms, and timers'
arch=('x86_64')
url='https://github.com/sgpthomas/hourglass'
license=('GPL3')
-depends=('granite' 'libnotify')
+depends=('granite' 'libnotify' 'libhandy')
makedepends=('meson' 'vala')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha256sums=('37621049ff33ad10db9e1a7e011a9b47db4166ffeb3df3b0d6309961e5b8e798')
+sha256sums=('a4d9dcb95ab3b41b6e4f60d1fa5d83f70d5b533a5e1e579ba63e0830d55c4208')
-build() {
- arch-meson "${pkgname}-${pkgver}" build
- meson compile -C build
+build () {
+ cd "${pkgname}-${pkgver}"
+ meson build --prefix=/usr
+ cd build
+ ninja
}
-package() {
- DESTDIR="${pkgdir}" meson install -C build
- install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" "${pkgname}-${pkgver}/README.md"
+package () {
+ cd "${pkgname}-${pkgver}"
+ cd build
+ DESTDIR="${pkgdir}" ninja install
+ cp "${pkgdir}/usr/bin/com.github.sgpthomas.hourglass" "${pkgdir}/usr/bin/hourglass"
}
-
-# vim: ts=2 sw=2 et: