Created
December 24, 2012 01:04
-
-
Save anonymous/4366978 to your computer and use it in GitHub Desktop.
PKGBUILD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: gls < ghostlovescorebg at gmail dot com > | |
pkgname=rompr | |
pkgver=0.16.3 | |
pkgrel=1 | |
pkgdesc="Web frontend to MPD" | |
arch=('any') | |
url="http://sourceforge.net/projects/rompr/" | |
license=('custom') | |
depends=('mpd' 'imagemagick' 'php') | |
optdepends=('apache' | |
'lighttpd' | |
'nginx') | |
source=(http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}.zip | |
albumart_convert.patch) | |
md5sums=('f1620b0aad30b25c3ae775567695c551' | |
'b2587a0aa46a4eb1364428bcea3139fe') | |
build () { | |
cd "${srcdir}/${pkgname}" | |
sed -i 's|PATH-TO-ROMPR|srv/http/rompr|' apache_conf.d/rompr.conf | |
patch -p2 < "${srcdir}/albumart_convert.patch" | |
} | |
package() { | |
cd "${srcdir}" | |
find -name '.svn' -delete | |
install -Dm 644 "${srcdir}/${pkgname}/apache_conf.d/rompr.conf" "${pkgdir}/etc/httpd/conf/extra/rompr.conf" | |
install -d "${pkgdir}/srv/http" | |
cp -ra rompr "${pkgdir}/srv/http" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment