blob: 8ebd146050a8d7818346c3c1a1afdd86431717a2 (
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
|
# Maintainer: quantulr <quantulr at gmail dot com>
pkgname=gossa
pkgdesc="a fast and simple multimedia fileserver"
pkgver=1.0.0
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')
prepare() {
cd ${pkgname}-${pkgver}
git submodule update --init --recursive
}
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
}
|