blob: 3d61b59bdcefe9ca636fa8421287dfa9e54136ba (
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
|
# Maintainer: aksr <aksr at t-com dot me>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=diakonos-git
pkgver=0.9.12.r
pkgrel=2
pkgdesc="A Linux console text editor for the masses."
arch=('any')
url="https://git.sr.ht/~pistos/diakonos"
license=('MIT')
depends=('ruby-curses')
makedepends=('git')
provides=('diakonos')
conflicts=('diakonos')
source=("$pkgname::git+https://git.sr.ht/~pistos/diakonos")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
printf %s.r%s $(head -4 CHANGELOG|tail -1) $(git describe --tags | cut -c8- | tr - .)
}
package() {
cd "$srcdir/$pkgname"
ruby=$(test -x /usr/bin/ruby && echo /usr/bin/ruby || which ruby)
$ruby install.rb --dest-dir $pkgdir --prefix /usr --conf-dir /etc
install -Dm644 LICENCE $pkgdir/usr/share/licenses/diakonos-git/LICENCE
}
|