summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAdrian Perez de Castro2019-08-23 11:42:03 +0300
committerAdrian Perez de Castro2019-08-23 11:42:03 +0300
commitcf5f7132d65c92bf66ac73190175a033ae97b72c (patch)
tree29c778b2384fcf496cecb6a8e858149287c8c6c3 /PKGBUILD
downloadaur-turnstile.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a4e536acb03
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Adrian Perez de Castro <aperez@igalia.com>
+pkgdesc='Markdown FastCGI server'
+pkgname=turnstile
+pkgver=0.0.2
+pkgrel=1
+url=https://github.com/roryrjb/turnstile
+license=(custom:MIT)
+arch=(x86_64)
+depends=(discount fcgi)
+makedepends=()
+source=("${url}/archive/${pkgver}.tar.gz")
+sha512sums=('eb7a6fcf560be8967e9172116a5d9a808cde5272445dd6c10a86d976eb48e237351f07e0ac1f9fadac38e17fe67b85325e6f64f31b82ce181803ddd810b82f6a')
+
+build ()
+{
+ cd "${pkgname}-${pkgver}"
+ make PREFIX=/usr -j$(nproc)
+}
+
+package ()
+{
+ cd "${pkgname}-${pkgver}"
+ install -Dm755 -t "${pkgdir}/usr/bin" turnstile
+ install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
+ install -Dm644 -t "${pkgdir}/usr/lib/systemd/system" turnstile.service
+}