diff options
author | Alice <alicela1n@protonmail.com> | 2024-12-03 01:54:27 +0000 |
---|---|---|
committer | Horst Burkhardt <horst@adelielinux.org> | 2024-12-03 01:54:27 +0000 |
commit | 00eead1d1a32c44a4600dad217e83dc8b1cdb05c (patch) | |
tree | fc67b768a76cc3d7ab3fb0f38c6e30817dba3959 /user/colordiff | |
parent | 49b2db3c3bf74f94a85d58fac1408e83a6a283e8 (diff) | |
download | packages-00eead1d1a32c44a4600dad217e83dc8b1cdb05c.tar.gz packages-00eead1d1a32c44a4600dad217e83dc8b1cdb05c.tar.bz2 packages-00eead1d1a32c44a4600dad217e83dc8b1cdb05c.tar.xz packages-00eead1d1a32c44a4600dad217e83dc8b1cdb05c.zip |
user/colordiff: new package
Diffstat (limited to 'user/colordiff')
-rw-r--r-- | user/colordiff/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/user/colordiff/APKBUILD b/user/colordiff/APKBUILD new file mode 100644 index 000000000..0ef752514 --- /dev/null +++ b/user/colordiff/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Alice <alicela1n@protonmail.com> +# Maintainer: Alice <alicela1n@protonmail.com> +pkgname=colordiff +pkgver=1.0.21 +pkgrel=0 +pkgdesc="Wrapper for diff that produces the same output but with syntax highlighting" +url="https://www.colordiff.org/" +arch="noarch" +options="!check" # No test suite +license="GPL-3.0+" +depends="diffutils less perl" +makedepends="xmlto w3m" +subpackages="$pkgname-doc" +source="https://www.colordiff.org/$pkgname-$pkgver.tar.gz" + +build() { + make +} + +package() { + install -Dm 755 colordiff.pl "$pkgdir"/usr/bin/colordiff + install -Dm 755 cdiff.sh "$pkgdir"/usr/bin/cdiff + install -Dm 644 colordiff.1 "$pkgdir"/usr/share/man/man1/colordiff.1 + install -Dm 644 cdiff.1 "$pkgdir"/usr/share/man/man1/cdiff.1 + install -Dm 644 colordiffrc "$pkgdir"/etc/colordiffrc +} + +sha512sums="e814e38db0db6e0ba420c64bc53815c1c9e74457390bbe45f31eb9539c068efc9354c11dbf1259b1a64bd3cd5b2cc452441f822e030af80d18fe5b5c5f627c9d colordiff-1.0.21.tar.gz" |