summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7c6537a46d93c901b817903b4bd48f705f8a69de (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: Straw <strawATpinnoto.org>
# Contributor: TuxnVape Elrondo46 <elrond94athotmail.com>
# Contributor: Frederic Bezies < fredbezies at gmail dot com>

pkgname=ne-git
pkgver=3.3.1.18.gaf55605
pkgrel=1
pkgdesc="The nice editor, easy to use for the beginner and powerful enough for the wizard - git version"
arch=('i686' 'x86_64' 'aarch64')
url="http://ne.di.unimi.it/"
license=('GPL3')
makedepends=('git')
depends=('ncurses')
provides=('ne')
conflicts=('ne')
source=('git+https://github.com/vigna/ne.git')
sha256sums=('SKIP')

pkgver() {
  cd "$srcdir/ne"
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "$srcdir/ne"
  make
}

package() {
  cd "$srcdir/ne"
  make install PREFIX=$pkgdir/usr
}