diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 42 |
1 files changed, 24 insertions, 18 deletions
@@ -2,28 +2,34 @@ # Contributor: gls < ghostlovescorebg at gmail dot com > pkgname=rompr -pkgver=2.10 -pkgrel=1 +pkgver=2.15 +pkgrel=2 pkgdesc="A php web frontend to MPD and Mopidy" arch=('any') url='https://github.com/fatg3erman/RompR/' -license=('custom') -depends=('imagemagick' - 'php' # note that dependencies php-json, php-curl, php-xml and php-mbstring are included in php - 'php-sqlite' - 'php-gd' - 'php-intl' - 'python' - 'python-websockets') +license=('LicenseRef-rompr') +depends=( + 'imagemagick' + 'php' # php-json, php-curl, php-xml and php-mbstring are included in php + 'php-sqlite' + 'php-gd' + 'php-intl' + 'python' + 'python-websockets' +) conflicts=('rompr<2.00') -optdepends=('apache: webserver to serve app' - 'nginx: webserver to serve app' - 'mysql: alternate database platform to sqlite') +optdepends=( + 'apache: webserver to serve app' + 'nginx: webserver to serve app' + 'mysql: alternate database platform to sqlite' +) source=("https://github.com/fatg3erman/RompR/releases/download/${pkgver}/${pkgname}-${pkgver}.zip") -sha256sums=('777831095fa35dc827c274a6f869c2cc2633a70e36e498ad3d8f8b218e6c4c65') +sha256sums=('2c1621f781a3cbacb83e24d32443d0fdeac437025d61f71fa7b55a014664ddef') install="${pkgname}.install" -backup=("var/lib/${pkgname}/albumart" - "var/lib/${pkgname}/prefs") +backup=( + "var/lib/${pkgname}/albumart" + "var/lib/${pkgname}/prefs" +) options=('emptydirs') package() { @@ -34,7 +40,7 @@ package() { install -d "${pkgdir}/var/lib/${pkgname}/albumart" ln -s "/var/lib/${pkgname}/albumart" "${pkgdir}/usr/share/webapps/${pkgname}/albumart" install -d "${pkgdir}/var/lib/${pkgname}/prefs" - ln -s "/var/lib/${pkgname}/prefs" "${pkgdir}/usr/share/webapps/${pkgname}/prefs" + ln -s "/var/lib/${pkgname}/prefs" "${pkgdir}/usr/share/webapps/${pkgname}/prefs" install -d "${pkgdir}/usr/share/licenses/$pkgname" - mv "${pkgdir}/usr/share/webapps/${pkgname}/LICENSE.txt" "${pkgdir}/usr/share/licenses/$pkgname/" + mv "${pkgdir}/usr/share/webapps/${pkgname}/LICENSE.txt" "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" } |