# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=diakonos
replaces="diakonos-git"
pkgver=0.9.4
pkgrel=0
pkgdesc="A Linux editor for the masses"
url="http://diakonos.pist0s.ca/download/"
arch="noarch"
license="MIT"
depends="ruby"
depends_dev=""
makedepends=""
subpackages="$pkgname-doc"
source="http://diakonos.pist0s.ca/archives/${pkgname}-${pkgver}.tar.bz2"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	return 0
}

package() {
	cd "$_builddir"
	ruby install.rb --dest-dir $pkgdir \
		--prefix /usr \
		--lib-dir /usr/lib \
		--conf-dir /etc || return 1
}

md5sums="13cb28073bcd5e4ccf278fedaca829a4  diakonos-0.9.4.tar.bz2"
sha256sums="9da8d3846c15f2568a77431bb5fe9ee76a890c982cebb745050f2e864d7916d0  diakonos-0.9.4.tar.bz2"
sha512sums="8aab6173c40b9a182853977ed7631c391a10d3339918fa96866da8c9fa8e36e40f1c5093465c734a9ce36a69c5d994d6b2d1c0306f1e57bff708fd7a64a62db7  diakonos-0.9.4.tar.bz2"
