aboutsummaryrefslogtreecommitdiffstats
path: root/alarm/PKGBUILD
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-10-13 20:48:29 +0200
committerMattias Andrée <maandree@kth.se>2017-10-13 20:48:29 +0200
commit56970ad93a3bc0aa7fd6488e91c1131508a070ad (patch)
treed764b4b0bce56f83f1a718fa39cb23ae27af2cb2 /alarm/PKGBUILD
parentUpdate adjbacklight (diff)
downloadaur-packages-56970ad93a3bc0aa7fd6488e91c1131508a070ad.tar.gz
aur-packages-56970ad93a3bc0aa7fd6488e91c1131508a070ad.tar.bz2
aur-packages-56970ad93a3bc0aa7fd6488e91c1131508a070ad.tar.xz
Add alarm
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--alarm/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/alarm/PKGBUILD b/alarm/PKGBUILD
new file mode 100644
index 0000000..0b562ff
--- /dev/null
+++ b/alarm/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
+
+pkgname=alarm
+pkgver=1.2
+pkgrel=1
+pkgdesc="Schedule an alarm for a program when starting it"
+url="https://github.com/maandree/alarm"
+arch=(i686 x86_64)
+license=(custom:ISC)
+source=("${url}/archive/${pkgver}.tar.gz")
+sha256sums=(c5f4f3f7ae975f4f64093eed85cc838cd43ab7af1773f250597de36ba0c3c68d)
+
+build() {
+ cd "${srcdir}/alarm-${pkgver}"
+ make DESTDIR="${pkgdir}" PREFIX=/usr
+}
+
+check() {
+ cd "${srcdir}/alarm-${pkgver}"
+ make check
+}
+
+package() {
+ cd "${srcdir}/alarm-${pkgver}"
+ make DESTDIR="${pkgdir}" PREFIX=/usr install
+}