summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bbe3fb59a38295429eeacc8095acff2813aaccee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Maintainer: Benjamin Auder <benjamin.a@mailoo.org>
pkgname=fuse-zip
pkgver=0.5.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=('0075928fd290619111f144b829e941e5'
         'e289e17557acef9511c15fe0746a0d3d')
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
}