summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 35164f0ae8e67c2b65b7d077414e486fe5b62dec (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
# Maintainer: Foxy <gmail: foxyblackhat@gmail.com>
pkgname=astreamfs-git
pkgver=1.15.0
pkgrel=1
pkgdesc='Fuse filesystem to read http(s) URL'
arch=(i686 x86_64)
url='https://gitlab.com/BylonAkila/astreamfs'
license=(GPL3)
depends=('fuse')
makedepends=('git')
source=(git+https://gitlab.com/BylonAkila/astreamfs.git)
sha1sums=('SKIP')

pkgver() {
  cd astreamfs
  echo r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

build() {
  cd astreamfs
  make
}

package() {
  cd astreamfs
  install -Dm755 astreamfs "${pkgdir}/usr/bin/astreamfs"
  install -Dm755 1fichier "${pkgdir}/usr/bin/1fichier"
  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}