blob: 23564e0063ee65af6fc862666a78ab35ec8718e6 (
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
|
# Maintainer: Jonas Leder <info@jonasled.de>
pkgname=repetier-server
pkgver=1.4.18
pkgrel=2
pkgdesc='repetier server component'
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url='https://www.repetier-server.com/'
license=('custom')
depends=('systemd' 'avahi')
makedepends=('binutils' 'fakeroot')
provides=('repetier-server')
conflicts=('repetier-host')
install=${pkgname}.install
source_i686=("http://download.repetier.com/files/server/debian-intel32/Repetier-Server-${pkgver}-Linux.deb")
source_x86_64=("http://download.repetier.com/files/server/debian-amd64/Repetier-Server-${pkgver}-Linux.deb")
source_armv7h=("http://download.repetier.com/files/server/debian-armhf/Repetier-Server-${pkgver}-Linux.deb")
source_aarch64=("http://download.repetier.com/files/server/debian-arm64hf/Repetier-Server-${pkgver}-Linux.deb")
sha256sums_i686=('b3e269f7c67801d4ed2eaf355a5917d6dbb401057dcd28852741670b80078320')
sha256sums_x86_64=('3fd242c33ca5a79b2b0f13f531f549806d0b976ff3cc9d4d9b39ea8d714cfb88')
sha256sums_armv7h=('10adcf0e27bf4f4adadd7826630514a860f78162495f8b8678043e9540d218f6')
sha256sums_aarch64=('7218bd3cb412510baeb154453a23b0be31ed5aab14b56d045c1775fd1a614150')
package() {
cd ${srcdir}
bsdtar -xf data.tar.gz -C "$pkgdir"
install -dm 755 "${pkgdir}"/usr/local/Repetier-Server
install -dm 755 "${pkgdir}"/lib
mkdir -p "${pkgdir}"/opt/RepetierServer
mv "${pkgdir}"/usr/local/Repetier-Server/{bin,debian,extra,etc,firmware,licenses,languages,modules,www,wizards} "${pkgdir}"/opt/RepetierServer
mv "${pkgdir}"/lib/systemd/system/RepetierServer.service "${pkgdir}"/opt/RepetierServer
rm -r "${pkgdir}"/etc/ "${pkgdir}"/lib/ "${pkgdir}"/usr/
}
|