blob: e5eb8f73f5524a17a146ec1ce8c3faaa359dcee2 (
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: Charles Wise <charles at charlesbwise dot com>
# Contributor: Jonas Heinrich <onny@project-insanity.org>
pkgname=sonerezh-git
_pkgname=sonerezh
pkgver=r230.519c0f8
pkgrel=1
pkgdesc='A self-hosted, web-based application for stream your music, everywhere'
arch=('any')
url='https://www.sonerezh.bzh'
license=('GPL3')
depends=('php' 'php-gd')
optdepends=('mariadb: Database backend'
'libav-git-no-libs: Music transcoding')
options=('!strip')
source=("git+https://github.com/Sonerezh/sonerezh.git"
"example_nginx_vhost.conf")
sha512sums=('SKIP'
'806f9aca27da55cd33b814b283bf3e33c32687858258755a43eb2d4b18f62b4ccf81e82dbc8e78c0923e5b48281adb2b33ec7db9850b79fb1ba63b611bbe9ee0')
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${srcdir}/${_pkgname}"
install -d "${pkgdir}/usr/share/webapps/sonerezh"
cp -r * "${pkgdir}/usr/share/webapps/sonerezh/"
install -d "${pkgdir}/etc/webapps/sonerezh"
install -d "${pkgdir}/usr/share/doc/sonerezh"
install -Dm644 "${srcdir}/example_nginx_vhost.conf" "${pkgdir}/usr/share/doc/sonerezh/"
}
|