summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Peukert2020-01-18 10:03:33 +0100
committerDaniel Peukert2020-01-18 10:03:33 +0100
commita45866aeba74940a03bb98d507068cb485c36b3f (patch)
tree6f7d014ad8795d930045c618acd33c79e4ab00bb
parent9d7bc40bb0438801f51787ef054cbac9d74863f9 (diff)
downloadaur-a45866aeba74940a03bb98d507068cb485c36b3f.tar.gz
Added install instructions
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD3
-rw-r--r--mailpile.install8
3 files changed, 11 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1586a60e0996..dd84a0ff2294 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,6 +3,7 @@ pkgbase = mailpile
pkgver = 1.0.0rc6
pkgrel = 2
url = http://www.mailpile.is
+ install = mailpile.install
arch = any
license = AGPL3
makedepends = python2-setuptools
diff --git a/PKGBUILD b/PKGBUILD
index a9ed9503f75a..790134381a6a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,6 +4,7 @@
# Contributor: Frank Fishburn <frankthefishburn@gmail.com> (mailpile-git PKGBUILD)
pkgname='mailpile'
pkgver='1.0.0rc6'
+_printcommit='7c1372b999dd6e68710e08e16778f2986c064295'
pkgrel='2'
pkgdesc='A free & open modern, fast email client with user-friendly encryption and privacy features'
arch=('any')
@@ -12,7 +13,7 @@ license=('AGPL3')
depends=('gnupg' 'python2' 'python2-appdirs' 'python2-cryptography' 'python2-fasteners' 'python2-icalendar' 'python2-imgsize' 'python2-jinja>=2.6' 'python2-lxml>=2.3.2' 'python2-markupsafe' 'python2-pbr' 'python2-pgpdump' 'python2-pillow' 'python2-pydns' 'python2-socksipychain' 'tor')
optdepends=('pagekite: remote access' 'python2-stem>=1.4: remote access')
makedepends=('python2-setuptools')
-_printcommit='7c1372b999dd6e68710e08e16778f2986c064295'
+install="$pkgname.install"
source=(
"$pkgname-$pkgver-$pkgrel.tar.gz::https://github.com/$pkgname/${pkgname^}/archive/$pkgver.tar.gz"
"$pkgname-$pkgver-$pkgrel-print.tar.gz::https://github.com/$pkgname/${pkgname^}-print/archive/$_printcommit.tar.gz"
diff --git a/mailpile.install b/mailpile.install
new file mode 100644
index 000000000000..704b8383fa47
--- /dev/null
+++ b/mailpile.install
@@ -0,0 +1,8 @@
+post_install() {
+ echo '==> A systemd service file has been installed, enable it with:'
+ echo '==> systemctl enable --now mailpile.service'
+}
+
+post_remove() {
+ systemctl disable --now mailpile.service > '/dev/null' 2>&1
+}