Add archivemount and fuse-zip

This commit is contained in:
Travis Burtrum 2019-08-12 23:46:27 -04:00
parent 1418801605
commit 8e7ffccd93
3 changed files with 85 additions and 0 deletions

24
src/archivemount/PKGBUILD Normal file
View File

@ -0,0 +1,24 @@
# Maintainer: A.T.W.A. <arch.atwa@gmail.com>
# Contributor: Janne Heß <jannehess@gmail.com>
pkgname=archivemount
pkgver=0.8.12
pkgrel=2
pkgdesc="FUSE based filesystem for mounting compressed archives"
arch=('i686' 'x86_64')
url="https://www.cybernoia.de/software/archivemount.html"
license=('GPL2')
depends=('fuse' 'libarchive')
source=("https://www.cybernoia.de/software/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('247e475539b84e6d2a13083fd6df149995560ff1ea92fe9fdbfc87569943cb89')
build() {
cd "${pkgname}-${pkgver}"
./configure --prefix=/usr
make
}
package() {
cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}

View File

@ -0,0 +1,18 @@
--- Makefile_orig 2018-02-04 03:55:50.000000000 +0100
+++ Makefile 2018-06-21 09:49:49.674661662 +0200
@@ -1,5 +1,5 @@
DEST=fuse-zip
-prefix=/usr/local
+prefix=/usr
exec_prefix=$(prefix)
bindir=$(exec_prefix)/bin
datarootdir=$(prefix)/share
@@ -10,7 +10,7 @@
LIBS=-Llib -lfusezip $(shell pkg-config fuse --libs) $(shell pkg-config libzip --libs)
LIB=lib/libfusezip.a
CXXFLAGS=-g -O0 -Wall -Wextra -Wconversion -Wsign-conversion -Wlogical-op -Wshadow -pedantic -Werror
-RELEASE_CXXFLAGS=-O2 -Wall -Wextra -Wconversion -Wsign-conversion -Wlogical-op -Wshadow -pedantic -Werror
+RELEASE_CXXFLAGS=-O2 -Wall
FUSEFLAGS=$(shell pkg-config fuse --cflags)
ZIPFLAGS=$(shell pkg-config libzip --cflags)
SOURCES=main.cpp

43
src/fuse-zip/PKGBUILD Normal file
View File

@ -0,0 +1,43 @@
# Maintainer: Benjamin Auder <benjamin.a@mailoo.org>
pkgname=fuse-zip
pkgver=0.6.0
pkgrel=1
epoch=
pkgdesc="FUSE file system to navigate, extract, create and modify ZIP and ZIP64 archives"
arch=('i686' 'x86_64' 'armv7h')
url="https://bitbucket.org/agalanin/fuse-zip"
license=('GPL')
groups=()
depends=('fuse' 'libzip')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("https://bitbucket.org/agalanin/fuse-zip/downloads/$pkgname-$pkgver.tar.gz" "Makefile.patch")
md5sums=('bbe72713ac598610dc51f33039fb14fb'
'9b43b740eb8ba94d3cddb724ba19637e')
noextract=()
validpgpkeys=()
prepare() {
cd "$pkgname-$pkgver"
patch -p0 -i "$srcdir/Makefile.patch"
}
build() {
cd "$pkgname-$pkgver"
make release
}
package() {
cd "$pkgname-$pkgver"
mkdir -p "$pkgdir/usr/bin"
mkdir -p "$pkgdir/usr/share/man/man1"
make DESTDIR="$pkgdir" install
}