summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD26
-rw-r--r--nuntius.install13
3 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ea1981d7eb7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = nuntius
+ pkgdesc = Nuntius delivers notifications from your phone or tablet to your computer
+ pkgver = 0.2.0
+ pkgrel = 1
+ url = https://github.com/holylobster/nuntius-linux
+ install = nuntius.install
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ makedepends = vala
+ makedepends = intltool
+ depends = gtk3
+ source = https://github.com/holylobster/nuntius-linux/releases/download/v0.2.0/nuntius-0.2.0.tar.xz
+ sha256sums = 5e0b4d97aa3e4f435b8468728751d3ea58c1739f4fc3f0312693773ae89fe67e
+
+pkgname = nuntius
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f2ce896b50a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Ainola
+# Contributor: Fabien Bourigault
+
+pkgname=nuntius
+pkgver=0.2.0
+pkgrel=1
+pkgdesc="Nuntius delivers notifications from your phone or tablet to your computer"
+arch=('i686' 'x86_64')
+license=('GPL2')
+url="https://github.com/holylobster/nuntius-linux"
+depends=('gtk3')
+makedepends=('vala' 'intltool')
+install=nuntius.install
+source=(https://github.com/holylobster/nuntius-linux/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('5e0b4d97aa3e4f435b8468728751d3ea58c1739f4fc3f0312693773ae89fe67e')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ make DESTDIR="$pkgdir" install
+}
diff --git a/nuntius.install b/nuntius.install
new file mode 100644
index 00000000000..ca31317f919
--- /dev/null
+++ b/nuntius.install
@@ -0,0 +1,13 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+