diff options
author | Christian Hesse | 2017-01-12 12:42:47 +0100 |
---|---|---|
committer | Christian Hesse | 2017-01-12 12:42:47 +0100 |
commit | c1a8656221cf5782c13754eab880a5f3f50b4e3f (patch) | |
tree | 629d668ac2469a0863531a954292909e7dd43373 /PKGBUILD | |
parent | ff6800648504f2455eab7ec86e19b53eb478a410 (diff) | |
download | aur-c1a8656221cf5782c13754eab880a5f3f50b4e3f.tar.gz |
commit vis-standalone-git 0.2.r645.ge83a9d5-2
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 17 insertions, 6 deletions
@@ -1,8 +1,9 @@ # Maintainer: Christian Hesse <mail@eworm.de> -pkgname=vis-standalone-git -pkgver=0.2.r632.g604c866 -pkgrel=1 +pkgbase=vis-standalone-git +pkgname=(vis-standalone-git vis-single-git) +pkgver=0.2.r645.ge83a9d5 +pkgrel=2 _pkgver_libmusl=1.1.16 _pkgver_ncurses=6.0 _pkgver_libtermkey=0.19 @@ -12,7 +13,7 @@ pkgdesc='modern, legacy free, simple yet efficient vim-like editor - statically arch=('i686' 'x86_64') url='http://www.brain-dump.org/projects/vis/' makedepends=('git') -conflicts=('vis' 'vis-standalone') +conflicts=('vis') provides=('vis') license=('custom:ISC') validpgpkeys=('836489290BB6B70F99FFDA0556BCDB593020450F' # musl libc <musl@libc.org> @@ -63,12 +64,22 @@ build() { unset CFLAGS LDFLAGS - make PREFIX='/usr/' standalone + make PREFIX='/usr/' single } -package() { +package_vis-standalone-git() { + pkgdesc='modern, legacy free, simple yet efficient vim-like editor - statically linked - git checkout' + cd vis/ make DESTDIR="${pkgdir}" PREFIX='/usr/' install } +package_vis-single-git() { + pkgdesc='modern, legacy free, simple yet efficient vim-like editor - statically linked, self-extracting - git checkout' + + cd vis/ + + install -D -m0755 vis-single "${pkgdir}/usr/bin/vis" +} + |