summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD30
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9df32dbb54e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = calf-ls
+ pkgdesc = CGI file lister
+ pkgver = 2.1
+ pkgrel = 1
+ url = http://git.mg0.fr/calf/
+ arch = i686
+ arch = x86_64
+ license = BSD3
+ depends = systemd
+ depends = fcgi
+ depends = uriparser
+ source = http://www.mg0.fr/pub/calf/calf-2.1.tar.gz
+ sha1sums = b05b44091208e0d0d726a3106785914e186b21e7
+
+pkgname = calf-ls
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b2bfdc9fb92
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Frédéric Mangano <fmang+aur mg0.fr>
+
+pkgname='calf-ls'
+_pkgname=calf
+pkgver=2.1
+pkgrel=1
+pkgdesc='CGI file lister'
+url='http://git.mg0.fr/calf/'
+arch=('i686' 'x86_64')
+license=('BSD3')
+depends=('systemd' 'fcgi' 'uriparser')
+source=("http://www.mg0.fr/pub/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+sha1sums=('b05b44091208e0d0d726a3106785914e186b21e7')
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib \
+ --with-fcgi \
+ --with-systemd
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 systemd/calf.service ${pkgdir}/usr/lib/systemd/system/calf.service
+ install -Dm644 systemd/calf.socket ${pkgdir}/usr/lib/systemd/system/calf.socket
+}