summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d55cccc45b800cfce273cf538ce7a07ce93d2734 (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
# Contributor: Frederic Bezies <fredbezies at gmail dot com>
# Contributor: Aaron DeVore <aaron.devore@gmail.com>
# Contributor: Michael Fellinger <m.fellinger@gmail.com>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=diakonos
pkgver=0.9.7
pkgrel=2
pkgdesc="A Linux editor for the masses."
arch=('any')
depends=('ruby-curses')
license=('MIT')
url="http://github.com/Pistos/diakonos"
source=("$pkgname-$pkgver.tar.gz::https://github.com/Pistos/diakonos/archive/v$pkgver.tar.gz")
sha256sums=('77b7f2d2ba29c3a72fff85c91038e19c40eef8a162945105bad203c065c554f9')

prepare() {
  cd $pkgname-$pkgver
  sed -i 's+sitelibdir+vendorlibdir+' install.rb
}

package() {
  cd $pkgname-$pkgver
  ruby install.rb --dest-dir $pkgdir --prefix /usr --conf-dir /etc
  install -D -m644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/MIT
}