Skip to content
Snippets Groups Projects
Verified Commit d43e1885 authored by alice's avatar alice
Browse files

community/unison: upgrade to 2.52.1

parent d957410b
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
# Maintainer: Jean-Louis Fuchs <jean-louis.fuchs@adfinis-sygroup.ch>
pkgname=unison
# Note: unison breaks compatibility between minor (major.minor) versions.
pkgver=2.52.0
pkgver=2.52.1
_majorver=${pkgver%.*} # x.y
pkgrel=0
pkgdesc="Efficient file-synchronization tool"
......@@ -12,6 +12,7 @@ arch="all !riscv64" # ocaml
license="GPL-3.0-or-later"
makedepends="ocaml linux-headers"
checkdepends="coreutils"
subpackages="$pkgname-doc"
source="unison-$pkgver.tar.gz::https://github.com/bcpierce00/unison/archive/v$pkgver.tar.gz"
build() {
......@@ -25,6 +26,7 @@ build() {
export CFLAGS="$_cflags"
make -j1 UISTYLE=text DEBUGGING=false THREADS=true
make -C man
cp src/unison unison-text
cp src/unison-fsmonitor unison-fsmonitor
}
......@@ -34,10 +36,12 @@ check() {
}
package() {
install -m 755 -D unison-text \
install -Dm755 unison-text \
"$pkgdir"/usr/bin/unison-text-$_majorver
install -m 755 -D unison-fsmonitor \
install -Dm755 unison-fsmonitor \
"$pkgdir"/usr/bin/unison-fsmonitor-$_majorver
install -Dm644 man/unison.1 \
-t "$pkgdir"/usr/share/man/man1
cd "$pkgdir"/usr/bin
ln -s unison-text-$_majorver unison-text
......@@ -45,5 +49,5 @@ package() {
}
sha512sums="
24cfb43b40a05f85164c43e8744216142db4cd74d9d09ba7178f25f794b0dcce252597fa1eb49a4133e63d891c8d23fd7472669cf9f52777bc6aa86b0a50e6f5 unison-2.52.0.tar.gz
6b1b44ffb9c1f6373e7250b28c08c26dfc4281ff750f64155872317e1b98fce40fb3adf16ad89ebe0d033c93254c048c8b7d641163219642bfea9b4bb37c9e0a unison-2.52.1.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment