diff options
author | Brian Bidulock | 2017-05-18 07:26:36 -0600 |
---|---|---|
committer | Brian Bidulock | 2017-05-18 07:26:36 -0600 |
commit | 715701f1fd59b23546ae26cbfa2bda6fc4571f30 (patch) | |
tree | 3b0c4b715d2dc349be4f345d89e999f5ce82d5cf /PKGBUILD | |
parent | e7734b8e98072dbd63614c44de5067b13b3f56f6 (diff) | |
download | aur-715701f1fd59b23546ae26cbfa2bda6fc4571f30.tar.gz |
fixed up
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 12 insertions, 17 deletions
@@ -2,37 +2,32 @@ pkgname=csync2 pkgver=2.0 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') pkgdesc="Asynchronous cluster syncronisation tool based on librsync and inspired by Unison" url="http://oss.linbit.com/csync2/" license=('GPL') -depends=(librsync sqlite2 libgcrypt libgpg-error gnutls libtasn1) +depends=('librsync' 'gnutls') +optdepends=('sqlite: for sqlite backend') source=(http://oss.linbit.com/csync2/${pkgname}-${pkgver}.tar.gz) sha256sums=('11cb37380fb185bce0c22b804fec9b01c385d9d83cc528cfd48d748453834fa2') build() { + cd ${pkgname}-${pkgver} - cd ${srcdir}/${pkgname}-${pkgver} - - sed -ie 's/.*AM_PATH_LIBGNUTLS.*/PKG_CHECK_MODULES([LIBGNUTLS], [gnutls >= 1.2.0], have_gnutls=yes, have_gnutls=no)/g' configure.ac - sed -ie 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac - - ./configure --prefix=/usr --bindir=/bin --disable-gnutls - - sed -ie 's/aclocal-1.14/aclocal-1.15/g' Makefile - sed -ie 's/automake-1.14/automake-1.15/g' Makefile + ./configure \ + --prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/bin \ + --sysconfdir=/etc \ + --localstatedir=/var make - } package() { + cd ${pkgname}-${pkgver} - cd ${srcdir}/${pkgname}-${pkgver} - sed -ie 's/sbindir\ =\ \${exec_prefix}\/sbin/sbindir\ =\ \${exec_prefix}\/bin/g' Makefile - make DESTDIR=${pkgdir} install - find ${pkgdir} -name '*.la' -exec rm {} \; - + make DESTDIR="${pkgdir}" install } # vim:set ts=2 sw=2 et: |