diff options
author | Chih-Hsuan Yen | 2018-09-30 12:34:18 +0800 |
---|---|---|
committer | Chih-Hsuan Yen | 2018-09-30 12:34:18 +0800 |
commit | 5b8b5976469ebd4bcd935187160c8e3018315dd5 (patch) | |
tree | fbf535b191332e12acf27c4b593c1c7060a9bbf0 | |
parent | c590cd166f5abb1801d45d96ce27df6de73b0c5a (diff) | |
download | aur-5b8b5976469ebd4bcd935187160c8e3018315dd5.tar.gz |
adopt and fix
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 50 |
2 files changed, 36 insertions, 33 deletions
@@ -1,19 +1,22 @@ pkgbase = apfs-fuse-git pkgdesc = FUSE driver for APFS (Apple File System) - pkgver = r45.7da8083 - pkgrel = 1 + pkgver = r61.4a5bb16 + pkgrel = 2 url = https://github.com/sgan81/apfs-fuse arch = i686 arch = x86_64 - license = GPL + license = GPL2 makedepends = git - makedepends = fuse3 makedepends = cmake - depends = fuse3 - provides = apfs-fuse + depends = fuse2 + depends = bzip2 + depends = zlib + provides = apfs-fuse=r61.4a5bb16 conflicts = apfs-fuse - source = apfs-fuse::git+https://github.com/sgan81/apfs-fuse - md5sums = SKIP + source = git+https://github.com/sgan81/apfs-fuse + source = git+https://github.com/lzfse/lzfse + sha256sums = SKIP + sha256sums = SKIP pkgname = apfs-fuse-git @@ -1,44 +1,44 @@ -# Maintainer: Adam Harvey <adam@adamharvey.name> +# Maintainer: Chih-Hsuan Yen <yan12125@gmail.com> +# Contributor: Adam Harvey <adam@adamharvey.name> + pkgname=apfs-fuse-git -pkgver=r45.7da8083 -pkgrel=1 +pkgver=r61.4a5bb16 +pkgrel=2 pkgdesc="FUSE driver for APFS (Apple File System)" arch=('i686' 'x86_64') url="https://github.com/sgan81/apfs-fuse" -license=('GPL') -groups=() -depends=('fuse3') -makedepends=('git' 'fuse3' 'cmake') -provides=("${pkgname%-git}") +license=('GPL2') +depends=('fuse2' 'bzip2' 'zlib') +makedepends=('git' 'cmake') +provides=("${pkgname%-git}=$pkgver") conflicts=("${pkgname%-git}") -replaces=() -backup=() -options=() -install= -source=('apfs-fuse::git+https://github.com/sgan81/apfs-fuse') -noextract=() -md5sums=('SKIP') +source=('git+https://github.com/sgan81/apfs-fuse' + 'git+https://github.com/lzfse/lzfse') +sha256sums=('SKIP' + 'SKIP') pkgver() { - cd "$srcdir/${pkgname%-git}" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + cd "${pkgname%-git}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } prepare() { - cd "$srcdir/${pkgname%-git}" - git submodule update --init + cd "${pkgname%-git}" + git submodule init + git config submodule.3rdparty/lzfse.url "$srcdir/lzfse" + git submodule update + mkdir -p build } build() { - cd "$srcdir/${pkgname%-git}" - mkdir -p build - cd build + cd "${pkgname%-git}/build" cmake .. make } package() { - cd "$srcdir/${pkgname%-git}" - mkdir -p "$pkgdir/usr/bin" - install -Dm755 build/bin/{apfs-dump,apfs-dump-quick,apfs-fuse,lzfse} "$pkgdir/usr/bin" + cd "${pkgname%-git}/build" + for binary in apfs-dump apfs-dump-quick apfs-fuse ; do + install -Dm755 bin/$binary "$pkgdir/usr/bin/$binary" + done } |