summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD18
2 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9c077b14903
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = nodejs-wildduck
+ pkgdesc = Opinionated email server
+ pkgver = 1.10.1
+ pkgrel = 1
+ url = https://wildduck.email
+ arch = i686
+ arch = x86_64
+ license = EUPL
+ makedepends = npm
+ depends = nodejs>=8.0.0
+ depends = mongodb
+ depends = redis
+ conflicts = wildduck
+ options = !strip
+
+pkgname = nodejs-wildduck
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e4ff3447e3e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,18 @@
+# Maintainer: Emilien Devos (unixfox) <contact@emiliendevos.be>
+
+pkgname=nodejs-wildduck
+pkgver=1.10.1
+pkgrel=1
+pkgdesc='Opinionated email server'
+arch=(i686 x86_64)
+url=https://wildduck.email
+license=(EUPL)
+depends=('nodejs>=8.0.0' mongodb redis)
+makedepends=(npm)
+conflicts=(wildduck)
+options=(!strip)
+
+package() {
+ npm install -g --prefix="$pkgdir"/usr wildduck@$pkgver
+ find "$pkgdir"/usr -type d -exec chmod 755 {} +
+}