[arch-commits] Commit in sshfs/trunk (PKGBUILD)
Anatol Pomozov
anatolik at archlinux.org
Fri Aug 11 23:26:00 UTC 2017
Date: Friday, August 11, 2017 @ 23:26:00
Author: anatolik
Revision: 249900
upgpkg: sshfs 3.1.0-1
Switch default build system to meson
Modified:
sshfs/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-08-11 23:15:04 UTC (rev 249899)
+++ PKGBUILD 2017-08-11 23:26:00 UTC (rev 249900)
@@ -3,7 +3,7 @@
# Contributor: Giovanni Scafora <giovanni at archlinux.org>
pkgname=sshfs
-pkgver=3.0.0
+pkgver=3.1.0
pkgrel=1
pkgdesc="FUSE client based on the SSH File Transfer Protocol"
arch=(x86_64 i686)
@@ -10,8 +10,9 @@
url="http://github.com/libfuse/sshfs"
license=(GPL)
depends=(fuse3 glib2 openssh)
+makedepends=(meson)
source=(https://github.com/libfuse/sshfs/releases/download/sshfs-$pkgver/sshfs-$pkgver.tar.gz{,.asc})
-sha256sums=('644966c7326c1b788a80318c5806f20f6d42dd72ab686f66d6120bd108b54d2d'
+sha256sums=('c4f439ef0b8122e126f3ab9c0c84cc1665a58777e0f10806fa68f241bc6d3874'
'SKIP')
validpgpkeys=('ED31791B2C5C1613AF388B8AD113FCAC3C4E599F') # Nikolaus Rath <Nikolaus at rath.org>
@@ -19,12 +20,15 @@
cd $pkgname-$pkgver
[[ $CARCH == 'i686' ]] && export CFLAGS+=" -D_FILE_OFFSET_BITS=64"
- ./configure --prefix=/usr
- make
+ rm -rf build
+ mkdir build
+ cd build
+ meson --prefix=/usr ..
+ ninja
}
package() {
- cd $pkgname-$pkgver
+ cd $pkgname-$pkgver/build
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" ninja install
}
More information about the arch-commits
mailing list