[arch-commits] Commit in afpfs-ng/trunk (PKGBUILD)
Ike Devolder
idevolder at archlinux.org
Thu Oct 15 15:46:59 UTC 2020
Date: Thursday, October 15, 2020 @ 15:46:59
Author: idevolder
Revision: 724101
upgpkg: afpfs-ng 0.8.2-1
Modified:
afpfs-ng/trunk/PKGBUILD
----------+
PKGBUILD | 58 +++++++++++++++++-----------------------------------------
1 file changed, 17 insertions(+), 41 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-10-15 15:41:33 UTC (rev 724100)
+++ PKGBUILD 2020-10-15 15:46:59 UTC (rev 724101)
@@ -2,58 +2,34 @@
# Contributor: slubman <slubman.dndd at laposte.net>
pkgname=afpfs-ng
-pkgver=0.8.1
-pkgrel=15
+pkgver=0.8.2
+_commit=e107bd4939d9332e5eb70ab0c09479b7a87d18e2
+pkgrel=1
pkgdesc="A client for the Apple Filing Protocol (AFP)"
url="http://alexthepuffin.googlepages.com/"
license=('GPL')
depends=('gmp' 'fuse' 'libgcrypt')
+makedepends=('git')
arch=('x86_64')
source=(
- "https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2"
- 'fix_afpfs-ng_includes.patch'
- '01-gcrypt.patch'
- '02-pointer.patch'
- '10-fix-errno.patch'
- '20-build-error-fixes.patch'
- '21-header-path-fix.patch'
- '30-include-fixes.patch'
+ "$pkgname::git+https://github.com/simonvetter/afpfs-ng.git#commit=$_commit"
)
-sha256sums=('688560de1cde57ab8d9e0ef7dc6436dbf0267fe8884f9014e50ff92b297b01a8'
- '627d94ab3c1cbc002b18839f514c6fa980b0a25dfc21e8761b389fcd39f32755'
- '18dc77b064fc02c229e0cfa071a7e31cde6d0243671ebde2f561ebdf09dc38bb'
- '8537b086c496e776be2a6757325717cb15dee6dcf2aedccebed6b4b2332d3dc1'
- '0e1c0c0e3a9ff6e55ccbbbc1b4de630c874ff058e2ea94360b7d90e650d04811'
- '393662da1bcd5d3aba180a2add37d9006e0a487c3bb7bf157a15aa492f4d6a87'
- 'f551ae9debe8ce2c4ed1d7a8bce497801ace995473876a5fefa0443353232477'
- '71b8f52923cef39f0cccb8fdff610575958fd5dbed66e5aa4413ae6aceeec656')
+sha256sums=('SKIP')
-prepare() {
- cd "$pkgname-$pkgver"
- # apply patches
- patch -Np1 -i "$srcdir/fix_afpfs-ng_includes.patch"
- patch -Np1 -i "$srcdir/01-gcrypt.patch"
- patch -Np1 -i "$srcdir/02-pointer.patch"
- patch -Np1 -i "$srcdir/10-fix-errno.patch"
- patch -Np1 -i "$srcdir/20-build-error-fixes.patch"
- patch -Np1 -i "$srcdir/21-header-path-fix.patch"
- patch -Np1 -i "$srcdir/30-include-fixes.patch"
-}
-
build() {
- cd "$pkgname-$pkgver"
- CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
- ./configure --prefix=/usr
- make
+ cd "$pkgname"
+ CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+ ./configure --prefix=/usr
+ make
}
package() {
- cd "$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
+ cd "$pkgname"
+ make DESTDIR="$pkgdir" install
- # install headers
- cd include
- for header in afpfs-ng/*.h; do
- install -Dm644 "$header" "$pkgdir/usr/include/$header"
- done
+ # install headers
+ cd include
+ for header in afpfs-ng/*.h; do
+ install -Dm644 "$header" "$pkgdir/usr/include/$header"
+ done
}
More information about the arch-commits
mailing list