summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlphaJack2020-08-30 23:47:28 +0200
committerAlphaJack2020-08-30 23:47:28 +0200
commit65599c0af49087a4c7242a0e6217bb2d0b86540a (patch)
tree4d8176799cf32b2ae602f9e27adc2f9d48c6116c
downloadaur-65599c0af49087a4c7242a0e6217bb2d0b86540a.tar.gz
Initial commit
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD29
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..53d9cf2ce60
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = roundcubemail-plugin-carddav
+ pkgdesc = CardDAV plugin for RoundCube Webmailer
+ pkgver = 4.0.0
+ pkgrel = 1
+ url = https://github.com/blind-coder/rcmcarddav
+ arch = any
+ license = GPL2
+ makedepends = composer
+ depends = roundcubemail
+ conflicts = roundcube-rcmcarddav
+ conflicts = roundcube-rcmcarddav-git
+ backup = etc/webapps/roundcubemail/plugins/carddav/config.inc.php
+ source = https://github.com/blind-coder/rcmcarddav/releases/download/v4.0.0-alpha1/carddav-v4.0.0-alpha1.tgz
+ md5sums = 525688b0e165821bc1843ac5be7628c6
+
+pkgname = roundcubemail-plugin-carddav
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7f020bf4bb2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: AlphaJack <alphajack at tuta dot io>
+
+pkgname="roundcubemail-plugin-carddav"
+pkgver=4.0.0
+pkgrel=1
+pkgdesc="CardDAV plugin for RoundCube Webmailer"
+arch=("any")
+conflicts=("roundcube-rcmcarddav" "roundcube-rcmcarddav-git")
+url="https://github.com/blind-coder/rcmcarddav"
+license=("GPL2")
+depends=("roundcubemail")
+makedepends=("composer")
+source=("$url/releases/download/v$pkgver-alpha1/carddav-v$pkgver-alpha1.tgz")
+md5sums=("525688b0e165821bc1843ac5be7628c6")
+backup=("etc/webapps/roundcubemail/plugins/carddav/config.inc.php")
+
+package() {
+ cd "$srcdir/carddav"
+ composer install --no-interaction --no-dev
+
+ install -d "$pkgdir/usr/share/licenses/$pkgname"
+ install -D "LICENSE" "$pkgdir/usr/share/licenses/$pkgname"
+
+ install -d "$pkgdir/usr/share/webapps/roundcubemail/plugins/carddav"
+ cp -r * "$pkgdir/usr/share/webapps/roundcubemail/plugins/carddav"
+
+ install -Dm644 "config.inc.php.dist" "$pkgdir/etc/webapps/roundcubemail/plugins/carddav/config.inc.php"
+ ln -s "/etc/webapps/roundcubemail/plugins/carddav/config.inc.php" "$pkgdir/usr/share/webapps/roundcubemail/plugins/carddav/config.inc.php"
+}