blob: 446ab439624c47a9202fb08976b5dd9b9e012a4f (
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
|
# Maintainer: Thor77 <thor77 at thor77 dot org>
# Contributor (backup): Thomas Fanninger <thomas at fanninger dot at>
pkgname=linx-server-bin
_name=linx-server
pkgver=2.3.8
pkgrel=1
pkgdesc='Self-hosted file/code/media sharing website '
arch=('i686' 'x86_64' 'arm')
url='https://github.com/andreimarcu/linx-server'
license=('GPL3')
install=linx-server.install
options=('!strip')
noextract=("${_name}-${pkgver}")
backup=('etc/webapps/linx-server/config.ini')
conflicts=('linx-server')
source=('linx-server.service' 'config.ini')
sha256sums=('96dda375b90c57e137b95442b8d4a24a5b763915eb1b8359e893f53af5db9630'
'e7bbd0e1c16447665b5ef8bfa0855760e758921d936e1981e15537dc9e8f3035')
sha256sums_i686=('5f932ccaac9fd8175f65e8a3bef60eef900afdb65b4a4715ab33efb2d580bfb8')
sha256sums_x86_64=('118562c7b6a1acf8e4991b88f5f5f2408ef6fd1580398e257cb84409fe63a929')
sha256sums_arm=('e8cfcbe5b3b571c77e13fafab956f385e1431ce1d6c9dd6b083a1ed40e06eb73')
source_i686=("${_name}-${pkgver}::https://github.com/andreimarcu/linx-server/releases/download/v$pkgver/linx-server-v${pkgver}_linux-386")
source_x86_64=("${_name}-${pkgver}::https://github.com/andreimarcu/linx-server/releases/download/v$pkgver/linx-server-v${pkgver}_linux-amd64")
source_arm=("${_name}-${pkgver}::https://github.com/andreimarcu/linx-server/releases/download/v$pkgver/linx-server-v${pkgver}_linux-arm")
package() {
cd $srcdir
install -Dm755 "${_name}-${pkgver}" "$pkgdir/usr/bin/$_name"
install -Dm644 config.ini "$pkgdir/etc/webapps/${_name}/config.ini"
install -Dm644 linx-server.service "$pkgdir/usr/lib/systemd/system/${_name}.service"
install -d "$pkgdir/usr/share/webapps/$_name"
}
|