summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 15dc9c2164386bed9e48aad799a3450c00849337 (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
# Maintainer: Fredrick R. Brennan <copypaste@kittens.ph>
# Contributor: A.T.W.A. <arch.atwa@gmail.com>
# Contributor: Janne Heß <jannehess@gmail.com>

pkgname=archivemount
pkgver=0.9.1
pkgrel=3
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')
makedepends=('automake' 'git' 'gcc' 'autoconf')
_githash=78c306538065de9b14f48cfc2024f50f843d3b29
_gituser=cybernoid
source=("https://github.com/$_gituser/$pkgname/archive/$_githash.zip")
sha256sums=('SKIP')

prepare() {
    cd "${pkgname}-${_githash}"
    autoreconf -f || true
    automake -f --add-missing
    autoreconf -f
}

build() {
    cd "${pkgname}-${_githash}"
    ./configure --prefix=/usr
    make
}

package() {
    cd "${pkgname}-${_githash}"
    make DESTDIR="${pkgdir}" install
}