Date: Wednesday, March 21, 2018 @ 20:27:54 Author: bisson Revision: 319781
upstream update Modified: unison/trunk/PKGBUILD ----------+ PKGBUILD | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-03-21 20:17:10 UTC (rev 319780) +++ PKGBUILD 2018-03-21 20:27:54 UTC (rev 319781) @@ -3,9 +3,8 @@ #Contributor: Tobias Powalowski <tp...@archlinux.org> pkgname=unison -_pkgver=2.48.15v4 -pkgver=${_pkgver%v*} -pkgrel=3 +pkgver=2.51.2 +pkgrel=1 pkgdesc='File-synchronization tool' #url='https://github.com/bcpierce00/unison/' url='https://www.cis.upenn.edu/~bcpierce/unison/' @@ -13,10 +12,10 @@ license=('GPL2') optdepends=('gtk2: graphical interface') makedepends=('ocaml' 'emacs' 'lablgtk2') -source=("https://github.com/bcpierce00/unison/archive/v${_pkgver}.tar.gz" +source=("https://github.com/bcpierce00/unison/archive/v${pkgver}.tar.gz" 'large.patch' 'desktop') -sha256sums=('f8c7e982634bbe1ed6510fe5b36b6c5c55c06caefddafdd9edc08812305fdeec' +sha256sums=('a2efcbeab651be6df69cc9b253011a07955ecb91fb407a219719451197849d5e' '2a971cf17e0a7303e99a793829e2b7b03533d17041e3b2ebba53555a5bd62284' 'b497b1c23cceb8967e9c3f9a39720e3029d370304ae410795121224f96c234a3') @@ -23,18 +22,18 @@ options=('!makeflags') prepare() { - cd "${srcdir}/${pkgname}-${_pkgver}" + cd "${srcdir}/${pkgname}-${pkgver}" sed 's/region_of_string/region_of_bytes/' -i src/uigtk2.ml patch -p0 -i ../large.patch } build() { - cd "${srcdir}/${pkgname}-${_pkgver}" + cd "${srcdir}/${pkgname}-${pkgver}" for ui in gtk2 text; do cp -a . build || true pushd build export CFLAGS= - make UISTYLE=$ui DEBUGGING=false THREADS=true + make all UISTYLE=$ui DEBUGGING=false THREADS=true mv src/unison src/unison-$ui mv src/unison-* .. popd @@ -43,7 +42,7 @@ } package() { - cd "${srcdir}/${pkgname}-${_pkgver}" + cd "${srcdir}/${pkgname}-${pkgver}" install -d "${pkgdir}"/usr/bin install -m755 unison-* "${pkgdir}"/usr/bin ln -s unison-text "${pkgdir}"/usr/bin/unison