aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Klitzing <aklitzing@gmail.com>2017-06-30 19:54:21 +0200
committerWilliam Pitcock <nenolod@dereferenced.org>2017-06-30 22:00:27 +0000
commit21651df6299a5072114761878d7caa417e20508c (patch)
treea16e2beb5feafed814387dc2fe3dd89d5f4d9ba9
parentc480d039d50d23386d54e172e3ec51c8119a65e9 (diff)
downloadaports-21651df6299a5072114761878d7caa417e20508c.tar.bz2
aports-21651df6299a5072114761878d7caa417e20508c.tar.xz
main/sshfs: upgrade to 2.9
Modernize abuild
-rw-r--r--main/sshfs/APKBUILD31
1 files changed, 12 insertions, 19 deletions
diff --git a/main/sshfs/APKBUILD b/main/sshfs/APKBUILD
index 8600a34e22..0ca7af2210 100644
--- a/main/sshfs/APKBUILD
+++ b/main/sshfs/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sshfs
-pkgver=2.8
+pkgver=2.9
pkgrel=0
pkgdesc="FUSE client based on the SSH File Transfer Protocol"
url="https://github.com/libfuse/sshfs"
@@ -9,36 +9,29 @@ license="GPL"
depends="openssh-client"
makedepends="fuse-dev glib-dev automake autoconf"
subpackages="$pkgname-doc"
-source="https://github.com/libfuse/${pkgname}/archive/${pkgname}_${pkgver}.tar.gz"
-
-_builddir="$srcdir"/${pkgname}-${pkgname}_${pkgver}
-prepare() {
- cd "$_builddir"
- autoreconf -fi || return 1
-}
+source="https://github.com/libfuse/$pkgname/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz"
+options="!check"
+builddir="$srcdir"/${pkgname}-${pkgver}
build () {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --localstatedir=/var \
- || return 1
- make || return 1
+ --localstatedir=/var
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
mkdir -p "$pkgdir"/usr/share/doc/$pkgname/
- install -Dm644 AUTHORS ChangeLog README.md \
- "$pkgdir"/usr/share/doc/$pkgname/ || return 1
+ install -Dm644 AUTHORS ChangeLog COPYING \
+ "$pkgdir"/usr/share/doc/$pkgname/
}
-md5sums="73a058527eb8e6722a6a46bcf372ac8e sshfs_2.8.tar.gz"
-sha256sums="f4f771ba0230fd9bb673e1329035f3d4c3455648055c926eaa2274f5bc8d65c7 sshfs_2.8.tar.gz"
-sha512sums="d6857ff7d46cae9204fb599d18017439140ff3f87c7a4d5121a15410b3ce239ff991b890c46ac68e28f193a45c3739afaf972e6e6f66b89654b14b84496957e2 sshfs_2.8.tar.gz"
+sha512sums="e7ddd4ed116287d5b6e67caaf87f7dedaec8c370c9641749c6b0adf493ff4e9b1e79a68c0abe8f081a4bd68d6706a770c384a1abfbe22aba494af3e6fb792a42 sshfs-2.9.tar.gz"