[arch-commits] Commit in ushare/trunk (PKGBUILD ushare.install)
Sergej Pupykin
spupykin at archlinux.org
Tue Feb 10 17:36:33 UTC 2015
Date: Tuesday, February 10, 2015 @ 18:36:33
Author: spupykin
Revision: 127519
upgpkg: ushare 1.1a-20
upd
Modified:
ushare/trunk/PKGBUILD
ushare/trunk/ushare.install
----------------+
PKGBUILD | 17 +++++++++++------
ushare.install | 5 -----
2 files changed, 11 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-02-10 17:36:29 UTC (rev 127518)
+++ PKGBUILD 2015-02-10 17:36:33 UTC (rev 127519)
@@ -5,12 +5,12 @@
pkgname=ushare
pkgver=1.1a
-pkgrel=19
+pkgrel=20
pkgdesc="A free UPnP A/V Media Server for Linux"
url="http://ushare.geexbox.org"
license=('GPL2')
arch=('i686' 'x86_64')
-depends=('libupnp' 'libdlna' 'sudo')
+depends=('libupnp' 'libdlna' 'sudo' 'ffmpeg-compat')
backup=('etc/ushare/ushare.conf'
'etc/conf.d/ushare')
install=ushare.install
@@ -25,16 +25,21 @@
'0b0fbf5d103f0ebb72716cbad0b28ffa'
'db6187257b4623ef155b5575526d5d87')
-build() {
+prepare() {
cd ${srcdir}/${pkgname}-${pkgver}
- sed -i -e \
- "s%^INSTALL=\"/usr/bin/install -c\"$%INSTALL=\"$(which install) -c\"%" \
+ sed -i \
+ -e "s%^INSTALL=\"/usr/bin/install -c\"$%INSTALL=\"$(which install) -c\"%" \
+ -e "s%-ldlna%-ldlna -L/usr/lib/ffmpeg-compat -lavformat%" \
configure
patch -p1 <$srcdir/upnp-build-fix.patch
patch -p1 <$srcdir/ushare-config.patch
patch -p1 <$srcdir/segfault.patch
+}
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc/ushare \
- --enable-dlna --with-libdlna-dir=/usr/include/libavformat
+ --enable-dlna
make
}
Modified: ushare.install
===================================================================
--- ushare.install 2015-02-10 17:36:29 UTC (rev 127518)
+++ ushare.install 2015-02-10 17:36:33 UTC (rev 127519)
@@ -10,8 +10,3 @@
post_upgrade() {
post_install $1
}
-
-post_remove() {
- userdel ushare
- groupdel ushare
-}
More information about the arch-commits
mailing list