diff options
author | AlphaJack | 2020-09-02 16:04:31 +0200 |
---|---|---|
committer | AlphaJack | 2020-09-02 16:04:31 +0200 |
commit | f6058c2d90ff154a40b0804b2e41255303b6d3f4 (patch) | |
tree | 2c8f73a4c42415ef23a044b2382cf166df7015b1 | |
parent | 51686daa9b81a8cd52c2340919ea900feb05cee5 (diff) | |
download | aur-f6058c2d90ff154a40b0804b2e41255303b6d3f4.tar.gz |
Tidied PKGBUILD
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -4,10 +4,10 @@ pkgname="roundcubemail-plugin-carddav" pkgver=4.0.0 pkgrel=1 pkgdesc="CardDAV plugin for RoundCube Webmailer" -arch=("any") -conflicts=("roundcube-rcmcarddav" "roundcube-rcmcarddav-git" "roundcubemail-plugin-carddav-git") url="https://github.com/blind-coder/rcmcarddav" license=("GPL2") +arch=("any") +conflicts=("roundcube-rcmcarddav" "roundcube-rcmcarddav-git" "roundcubemail-plugin-carddav-git") depends=("roundcubemail") makedepends=("composer") source=("$url/releases/download/v$pkgver-alpha1/carddav-v$pkgver-alpha1.tgz") @@ -17,13 +17,9 @@ 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" + install -D -m 644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname" + install -D -o root -g http -m 640 "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" } |