diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-03-02 16:07:45 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-03-02 16:10:15 +0100 |
commit | d1c525417e51fd7f3c9b940e6f15bedbf9a3ad85 (patch) | |
tree | 4b4d17757670fab527233852cebbef9e98fb43bc /testing | |
parent | 25185a6fb402ff17ee64a222caab772bfc83e9d4 (diff) | |
download | aports-d1c525417e51fd7f3c9b940e6f15bedbf9a3ad85.tar.bz2 aports-d1c525417e51fd7f3c9b940e6f15bedbf9a3ad85.tar.xz |
testing/colordiff: new aport
http://www.colordiff.org
Color terminal highlighter for diff files
Diffstat (limited to 'testing')
-rw-r--r-- | testing/colordiff/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/colordiff/APKBUILD b/testing/colordiff/APKBUILD new file mode 100644 index 0000000000..03a40e86a8 --- /dev/null +++ b/testing/colordiff/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Jakub Jirutka <jakub@jirutka.cz> +# Maintainer: Jakub Jirutka <jakub@jirutka.cz> +pkgname=colordiff +pkgver=1.0.18 +pkgrel=0 +pkgdesc="Color terminal highlighter for diff files" +url="http://www.colordiff.org" +arch="noarch" +license="GPL-v2.0-or-later" +depends="diffutils less perl" +makedepends="lynx xmlto" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/daveewart/$pkgname/archive/v$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + make doc +} + +check() { + cd "$builddir" + make -C verify +} + +package() { + cd "$builddir" + make install \ + DESTDIR="$pkgdir" \ + INSTALL_DIR=/usr/bin \ + MAN_DIR=/usr/share/man/man1 +} + +sha512sums="483b29d6dbb53e0c31cfb096808a7b9dde64891180bc29262d02761af91d0d5cf5c0d0972ae678a8ea868b935b02424390166a1141a32320f222635c5184d360 colordiff-1.0.18.tar.gz" |