blob: aca7a60d773452b8cb702e1fd9b34649322dd4a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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:
|