diff options
| author | Leo <thinkabit.ukim@gmail.com> | 2019-07-06 04:33:52 -0300 |
|---|---|---|
| committer | Leo <thinkabit.ukim@gmail.com> | 2019-07-06 04:34:44 -0300 |
| commit | a654f9e2f0ec96b92f80299907888f2a2cdb199f (patch) | |
| tree | 8ad930daf02f56eb2a815bd1cde06c5f93799e21 /community/clsync/APKBUILD | |
| parent | 19cd0394d3ed89d57dd6b1a950966ca86246e464 (diff) | |
| download | aports-a654f9e2f0ec96b92f80299907888f2a2cdb199f.tar.bz2 aports-a654f9e2f0ec96b92f80299907888f2a2cdb199f.tar.xz | |
community/clsync: modernize
Diffstat (limited to 'community/clsync/APKBUILD')
| -rw-r--r-- | community/clsync/APKBUILD | 32 |
1 files changed, 11 insertions, 21 deletions
diff --git a/community/clsync/APKBUILD b/community/clsync/APKBUILD index 4d9d3cbe37..c38cbcc305 100644 --- a/community/clsync/APKBUILD +++ b/community/clsync/APKBUILD @@ -7,50 +7,40 @@ pkgdesc="File live sync daemon based on inotify" url="https://github.com/xaionaro/clsync" arch="x86 x86_64 aarch64" license="GPL-3.0-or-later" -depends="" depends_dev="glib-dev fts-dev libcap-dev libexecinfo-dev linux-headers musl-dev" makedepends="$depends_dev autoconf automake file libtool" subpackages="$pkgname-doc $pkgname-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/xaionaro/$pkgname/archive/v$pkgver.tar.gz musl-fix.patch" -builddir="$srcdir/$pkgname-$pkgver" options="!check" # upstream does not provide tests -seccomp="" prepare() { default_prepare - - cd "$builddir" autoreconf -i } build() { - cd "$builddir" - case "$CARCH" in aarch64) seccomp="disable-seccomp" ;; *) seccomp="enable-seccomp" ;; esac - ./configure \ - CFLAGS="$CFLAGS -lfts -lexecinfo" \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var \ - --enable-capabilities \ - --$seccomp \ - --disable-debug - + ./configure \ + CFLAGS="$CFLAGS -lfts -lexecinfo" \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --enable-capabilities \ + --$seccomp \ + --disable-debug make } package() { - cd "$builddir" - make DESTDIR="$pkgdir" install # https://github.com/xaionaro/clsync/issues/150 |
