diff options
author | haawda | 2023-02-24 14:50:34 +0100 |
---|---|---|
committer | haawda | 2023-02-24 14:50:34 +0100 |
commit | d6d3a4a013df2eef3576f813c4382d4c3c143420 (patch) | |
tree | 70c16649cca0b665022a9d0f4943901e5f8e1954 | |
parent | dd0c179f647236a0f5ecaa26e92eb08f48922ba6 (diff) | |
download | aur-d6d3a4a013df2eef3576f813c4382d4c3c143420.tar.gz |
Update
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 13 insertions, 28 deletions
@@ -1,15 +1,14 @@ pkgbase = jove pkgdesc = Jonathan's Own Version of Emacs is an Emacs-like editor without Lisp. - pkgver = 4.17.4.9 + pkgver = 4.17.5.1 pkgrel = 1 url = https://github.com/jonmacs/jove arch = i686 arch = x86_64 license = custom + makedepends = pkgconf depends = ncurses - provides = jove - conflicts = jove-git - source = jove-4.17.4.9.tar.gz::https://github.com/jonmacs/jove/archive/4.17.4.9.tar.gz - sha256sums = 6d9aeb85c04fedac7e3df2a1716e014dc53d6938f665fc32a9facd40c117102d + source = jove-4.17.5.1.tar.gz::https://github.com/jonmacs/jove/archive/4.17.5.1.tar.gz + sha256sums = 674fe3784c9aa58e1fbe010c7da8e026bffa5e057ab30341333a2dbcaf12887b pkgname = jove @@ -3,39 +3,25 @@ # Contributor: aksr <aksr at t-com dot me> pkgname=jove -pkgver=4.17.4.9 +pkgver=4.17.5.1 pkgrel=1 pkgdesc="Jonathan's Own Version of Emacs is an Emacs-like editor without Lisp." url="https://github.com/jonmacs/jove" license=('custom') arch=('i686' 'x86_64') depends=('ncurses') -makedpends=('pkgconf') -provides=("${pkgname}") -conflicts=("${pkgname}-git") +makedepends=('pkgconf') source=("$pkgname-$pkgver.tar.gz::$url/archive/${pkgver}.tar.gz") -sha256sums=('6d9aeb85c04fedac7e3df2a1716e014dc53d6938f665fc32a9facd40c117102d') - -prepare() { - cd "$pkgname-$pkgver" - # This lets the Makefile use the ArchLinux supplied CFLAGS and LDFLAGS - sed -i -e 's/^CFLAGS/#CFLAGS/g' -e 's/^LDFLAGS/#LDFLAGS/g' Makefile -} +sha256sums=('674fe3784c9aa58e1fbe010c7da8e026bffa5e057ab30341333a2dbcaf12887b') build() { - cd $pkgname-$pkgver - CPPFLAGS="-DLinux $(pkgconf --cflags ncurses)" - ldlibs="$(pkgconf --libs ncurses)" - make SYSDEFS="$CPPFLAGS" TERMCAPLIB="$ldlibs" \ - LDLIBS="$ldlibs -lutil" JOVEHOME=/usr SHARDIR=/usr/share/jove \ - TMPDIR=/var/tmp RECDIR=/var/tmp/jove.preserve DFLTSHELL=/bin/sh + cd "$pkgname-$pkgver" + ./jmake.sh } package() { - cd $pkgname-$pkgver - install -d "$pkgdir"/usr/{bin,lib/jove,share/jove} - make JOVEHOME=/usr DESTDIR="$pkgdir" install - cp -r "$pkgdir"/usr/man "$pkgdir"/usr/share - rm -rf "$pkgdir"/usr/man - install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/jove/LICENSE + cd "$pkgname-$pkgver" + ./jmake.sh JOVEHOME=/usr DESTDIR="$pkgdir" install + + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } |