summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge2017-12-22 18:12:21 +0100
committerDavid Runge2017-12-22 18:12:21 +0100
commit89587ceedbd8a906ca8ac0e711f95fee384ba8ed (patch)
tree8c0ae68e3591df6db2df1b12e751f2cbe86d310f
parente7889cf70aa07d63b5198c87ba66ad9ea06ece7d (diff)
downloadaur-89587ceedbd8a906ca8ac0e711f95fee384ba8ed.tar.gz
PKGBUILD: Fixing the symlinking of customization directory.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD7
2 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b6e3d88c54e4..e9f4c2618e23 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Fri Dec 22 15:54:30 UTC 2017
+# Fri Dec 22 17:11:20 UTC 2017
pkgbase = etherpad-lite
pkgdesc = Lightweight fork of etherpad based on javascript
pkgver = 1.6.2
- pkgrel = 1
+ pkgrel = 2
epoch = 1
url = http://etherpad.org
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index a5fef0974e05..0468acb42ced 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
_jqueryver=1.9.1
pkgname=etherpad-lite
pkgver=1.6.2
-pkgrel=1
+pkgrel=2
epoch=1
pkgdesc="Lightweight fork of etherpad based on javascript"
arch=(any)
@@ -78,13 +78,14 @@ package() {
# custom js and css templates
install -t "${pkgdir}/etc/${pkgname}/custom" -Dm0640 \
"src/static/custom/"*.{css,js}
+ rm -r src/static/custom
# move sources
mv src/* "${pkgdir}/usr/share/${pkgname}/src/"
# symlink directory for custom css and js
- ln -s "/etc/${pkgname}/custom" \
- "${pkgdir}/usr/share/${pkgname}/src/static/custom"
+ ln -s "/etc/${pkgname}/custom/" \
+ "${pkgdir}/usr/share/${pkgname}/src/static/"
# symlink needed files (not yet created)
ln -s /var/lib/etherpad-lite/SESSIONKEY.txt \