summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Whited2019-02-11 10:19:46 -0600
committerSam Whited2019-02-11 10:19:46 -0600
commit4d65684fcab2b2b6e6793d0bcf67e78b0dcc0058 (patch)
treec47781fff40d609565a6632aedf26bd8d7428107
parent042ed9145162bd06588babb854cacc196e3bcf16 (diff)
downloadaur-4d65684fcab2b2b6e6793d0bcf67e78b0dcc0058.tar.gz
Make sure CSS files get built into static
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
2 files changed, 11 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 480453b9efc..9854d7ad715 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = writefreely
pkgdesc = Federated blogging from write.as
pkgver = 0.8.1
- pkgrel = 1
+ pkgrel = 2
url = https://writefreely.org/
install = writefreely.install
arch = x86_64
@@ -9,6 +9,8 @@ pkgbase = writefreely
makedepends = go>=1.11
makedepends = go-bindata
makedepends = sqlite
+ makedepends = nodejs-less
+ makedepends = nodejs-less-plugin-clean-css
depends = glibc
optdepends = sqlite: For SQLite support,
optdepends = mariadb: For MariaDB support
diff --git a/PKGBUILD b/PKGBUILD
index 9927cbc954f..91d8ca6632e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=writefreely
pkgver=0.8.1
-pkgrel=1
+pkgrel=2
pkgdesc='Federated blogging from write.as'
arch=('x86_64')
url='https://writefreely.org/'
@@ -10,7 +10,9 @@ license=('AGPL3')
depends=('glibc')
makedepends=('go>=1.11'
'go-bindata'
- 'sqlite')
+ 'sqlite'
+ 'nodejs-less'
+ 'nodejs-less-plugin-clean-css')
optdepends=('sqlite: For SQLite support',
'mariadb: For MariaDB support')
backup=('etc/writefreely/config.ini')
@@ -43,7 +45,10 @@ prepare() {
}
build() {
- cd "${srcdir}/${pkgname}-${pkgver}/"
+ cd "${srcdir}/${pkgname}-${pkgver}/less"
+ make all
+
+ cd ../
GO111MODULE=on make build
}