summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0d318d5846c38bdcf5f9bc2756b3398a827ce2ee (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
# Maintainer: quantulr <quantulr at gmail dot com>

pkgname=gossa
pkgdesc="a fast and simple multimedia fileserver"
pkgver=1.1.2
pkgrel=1
arch=('x86_64' 'armv7h' 'aarch64')
license=('MIT')
url='https://github.com/pldubouilh/gossa'
provides=('gossa')
conflicts=('gossa-bin')
depends=('glibc')
makedepends=('git' 'go')
source=("${pkgname}-${pkgver}::git+https://github.com/pldubouilh/gossa#tag=v${pkgver}")
sha256sums=('SKIP')

build() {
  cd ${pkgname}-${pkgver}
  make build
}

package() {
  cd ${pkgname}-${pkgver}
  install -Dm755 ${pkgname} ${pkgdir}/usr/bin/${pkgname}
  install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}