diff options
author | caltlgin | 2020-09-28 17:58:56 +1300 |
---|---|---|
committer | caltlgin | 2020-09-28 17:58:56 +1300 |
commit | f23272bda3f769cb13cd2dc6d01d7fc010baa23e (patch) | |
tree | 3c2546de3712de030e2e21562766adb89fbd2dd8 | |
download | aur-f23272bda3f769cb13cd2dc6d01d7fc010baa23e.tar.gz |
Add to AUR
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..bdc1396414a5 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = hourglass + pkgdesc = Simple clock application that provides stopwatches, alarms, and timers + pkgver = 1.2.3 + pkgrel = 1 + url = https://github.com/sgpthomas/hourglass + arch = x86_64 + license = GPL3 + makedepends = meson + 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 + +pkgname = hourglass + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..678734393bb5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz> + +pkgname='hourglass' +pkgver=1.2.3 +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') +makedepends=('meson' 'vala') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") +sha256sums=('37621049ff33ad10db9e1a7e011a9b47db4166ffeb3df3b0d6309961e5b8e798') + +build() { + arch-meson "${pkgname}-${pkgver}" build + meson compile -C build +} + +package() { + DESTDIR="${pkgdir}" meson install -C build + install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" "${pkgname}-${pkgver}/README.md" +} + +# vim: ts=2 sw=2 et: |