diff options
author | Valère Monseur | 2017-05-25 12:26:53 +0200 |
---|---|---|
committer | Valère Monseur | 2017-05-25 12:26:53 +0200 |
commit | c9baba31d4323fe3793c6fb0daaffb1568167380 (patch) | |
tree | 6f085601d44af95e7b009874752eb4640b54457b | |
parent | 005cd59e4048f8777d0b8d2187e0672f1f0a9345 (diff) | |
download | aur-c9baba31d4323fe3793c6fb0daaffb1568167380.tar.gz |
upgrade 3.1.0
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 15 | ||||
-rw-r--r-- | ne.install | 18 |
3 files changed, 13 insertions, 27 deletions
@@ -1,16 +1,15 @@ pkgbase = ne pkgdesc = The nice editor, a fast small powerful and simple to use editor - pkgver = 3.0.1 + pkgver = 3.1.0 pkgrel = 1 url = http://ne.di.unimi.it - install = ne.install arch = i686 arch = x86_64 license = GPL3 depends = ncurses depends = texinfo - source = http://ne.di.unimi.it/ne-3.0.1.tar.gz - md5sums = 48787d0aa55f89fadbd6f7d6cc6eb1de + source = http://ne.di.unimi.it/ne-3.1.0.tar.gz + md5sums = 64f28c5b8af4664efaaba62edad9df5a pkgname = ne @@ -4,19 +4,24 @@ # Contributor: Ben <ben@benmazer.net> pkgname=ne -pkgver=3.0.1 +pkgver=3.1.0 pkgrel=1 -pkgdesc="The nice editor, a fast small powerful and simple to use editor" +pkgdesc='The nice editor, a fast small powerful and simple to use editor' arch=('i686' 'x86_64') -url="http://ne.di.unimi.it" +url='http://ne.di.unimi.it' license=('GPL3') depends=('ncurses' 'texinfo') -install="ne.install" source=("${url}/${pkgname}-${pkgver}.tar.gz") -md5sums=('48787d0aa55f89fadbd6f7d6cc6eb1de') +md5sums=('64f28c5b8af4664efaaba62edad9df5a') + +prepare() { + cd "${pkgname}-${pkgver}" + sed -i -e 's/build: docs/build:/' makefile +} build() { cd "${pkgname}-${pkgver}" + export MAKEFLAGS="-j1" make PREFIX=/usr } diff --git a/ne.install b/ne.install deleted file mode 100644 index 8624762ade1a..000000000000 --- a/ne.install +++ /dev/null @@ -1,18 +0,0 @@ -infodir=/usr/share/info -filelist=(ne.info.gz) - -post_install() { - for file in ${filelist[@]}; do - install-info $infodir/$file $infodir/dir 2> /dev/null - done -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - for file in ${filelist[@]}; do - install-info --delete $infodir/$file $infodir/dir 2> /dev/null - done -} |