summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-10-09 18:18:49 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-10-09 18:18:49 (GMT)
commitceaa14a9a98c061e6a046f0d21af059436766e9c (patch)
tree9168193d15b6fbcf57fc8f6005b1effff35807bb /abs/core
parent9ab119f94f92c62c505a86c97d32f6df19054c01 (diff)
downloadlinhes_pkgbuild-ceaa14a9a98c061e6a046f0d21af059436766e9c.zip
linhes_pkgbuild-ceaa14a9a98c061e6a046f0d21af059436766e9c.tar.gz
linhes_pkgbuild-ceaa14a9a98c061e6a046f0d21af059436766e9c.tar.bz2
mfdb-json-git: initial commit
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/mfdb-json-git/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/abs/core/mfdb-json-git/PKGBUILD b/abs/core/mfdb-json-git/PKGBUILD
new file mode 100644
index 0000000..aca7a60
--- /dev/null
+++ b/abs/core/mfdb-json-git/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Jameson Pugh <imntreal@gmail.com>
+
+pkgname=mfdb-json-git
+pkgver=6e5d774
+pkgrel=1
+pkgdesc="mythfilldatabase replacement for new SchedulesDirect format"
+arch=('i686' 'x86_64')
+url="https://github.com/SchedulesDirect/mfdb-json"
+license=('GPLv2')
+depends=('php-composer')
+provides=(mfdb-json)
+conflicts=(mfdb-json)
+source=("mfdb-json-git::git://github.com/SchedulesDirect/mfdb-json#branch=API-20140530")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd ${pkgname}
+ git describe --always | sed 's|-|.|g'
+}
+
+package() {
+ cd "${srcdir}/${pkgname}"
+
+ composer install
+ install -dm 755 "${pkgdir}/opt/mfdb-json"
+ install -dm 755 "${pkgdir}/usr/bin"
+ cp -rv ./* "${pkgdir}/opt/mfdb-json"
+ ln -s /opt/mfdb-json/sd-utility.php "${pkgdir}/usr/bin/sd-utility"
+ ln -s /opt/mfdb-json/mfdb-json.php "${pkgdir}/usr/bin/mfdb-json"
+}
+
+# vim: set ts=2 sw=2 ft=sh noet: