summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c0d879f9b1b8d3bc0c30fd506010ac1631ff089f (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
33
34
35
36
37
38
39
40
# Contributor: Mark Carter <alt.mcarter@gmail.com>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=neoleo-git
pkgver=7.0.0.370.gbe216cb
pkgrel=1
pkgdesc="Lightweight curses spreadsheet based on GNU oleo"
arch=('i686' 'x86_64')
url="https://github.com/blippy/neoleo"
conflicts=(${pkgname%-git})
provides=(${pkgname%-git})
license=('GPL')
depends=('ncurses')
makedepends=('git')
source=("git+$url.git" return_values.patch)
options=('!makeflags')
md5sums=('SKIP'
         'bcadd18eb752a95e4efc3f015e7a536d')

pkgver() {
  cd ${pkgname%-git}
  git describe --tags | tr - .|cut -c2-
}

prepare() {
  cd ${pkgname%-git}
  git apply "$srcdir"/manman.patch
}

build() {
  cd ${pkgname%-git}
  autoreconf -iv
  ./configure --prefix=/usr
  make
}

package() {
  cd ${pkgname%-git}
  make DESTDIR="$pkgdir/" install
}