diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 19 |
1 files changed, 9 insertions, 10 deletions
@@ -1,7 +1,7 @@ # Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net> pkgname=icecast-git -pkgver=2.5.0.beta.1.r179.gfa86f2d +pkgver=2.5.0.beta.2.r438.gde3a075 pkgrel=1 pkgdesc="A streaming media (audio/video) server" arch=('i686' 'x86_64') @@ -13,24 +13,20 @@ provides=('icecast') conflicts=('icecast') backup=('etc/icecast.xml' 'etc/logrotate.d/icecast') -source=("git+https://git.xiph.org/icecast-server.git" +source=("git+https://gitlab.xiph.org/xiph/icecast-server.git" "icecast.logrotate::https://git.archlinux.org/svntogit/community.git/plain/trunk/icecast.logrotate?h=packages/icecast" - "icecast.service::https://git.archlinux.org/svntogit/community.git/plain/trunk/icecast.service?h=packages/icecast" - "start-by-nobody.patch::https://git.archlinux.org/svntogit/community.git/plain/trunk/start-by-nobody.patch?h=packages/icecast") + "icecast.service::https://git.archlinux.org/svntogit/community.git/plain/trunk/icecast.service?h=packages/icecast") sha256sums=('SKIP' 'SKIP' - 'SKIP' 'SKIP') prepare() { cd "icecast-server" - sed -i 's|url = \.\.|url = https://git.xiph.org|' ".gitmodules" + sed -i 's|url = \.\.|url = https://gitlab.xiph.org/xiph|' ".gitmodules" git submodule sync git submodule update --init --recursive - - patch -Np1 -i "$srcdir/start-by-nobody.patch" } pkgver() { @@ -43,7 +39,10 @@ build() { cd "icecast-server" ./autogen.sh - ./configure --prefix="/usr" --sysconfdir="/etc" --localstatedir="/var" + ./configure \ + --prefix="/usr" \ + --sysconfdir="/etc" \ + --localstatedir="/var" make } @@ -53,6 +52,6 @@ package() { make DESTDIR="$pkgdir" install install -Dm644 "$srcdir/icecast.logrotate" "$pkgdir/etc/logrotate.d/icecast" - install -Dm644 "$srcdir/icecast.service" "$pkgdir/usr/lib/systemd/system/icecast.service" + install -Dm644 "$srcdir/icecast.service" -t "$pkgdir/usr/lib/systemd/system" install -d -g99 -o99 "$pkgdir/var/log/icecast" } |