aur updates

This commit is contained in:
Kevin Mihelich 2014-07-23 11:41:47 +00:00
parent 9a5bb86a99
commit 261fb85e9f
4 changed files with 19 additions and 14 deletions

View file

@ -5,10 +5,10 @@
# Contributor: Farhan Yousaf <farhany at xaviya dot com>
pkgname=netatalk
pkgver=3.1.2
pkgver=3.1.3
pkgrel=1
pkgdesc='A kernel-level implementation of AFP services'
arch=('i686' 'x86_64')
arch=('i686' 'x86_64' 'armv6h')
url='http://netatalk.sourceforge.net'
license=('GPL')
depends=('avahi>=0.6' 'libldap' 'libgcrypt>=1.2.3' 'libevent' 'python2' 'dbus-glib' 'python2-dbus')
@ -19,7 +19,7 @@ install=$pkgname.install
source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2
avahi-client.patch
python2.patch)
md5sums=('cfdf3dd2278d2900275e11b4423eacc0'
md5sums=('ac65dafa20d502a10438fec7e1116b1e'
'00379aacb88dcac8c1e0513da1a5f24c'
'97bc0467dd8a866d9f0835d6440e3c19')
@ -31,11 +31,11 @@ prepare() {
build() {
cd "$srcdir/$pkgname-$pkgver"
autoreconf -fi
CFLAGS="-Wno-unused-result -O2" \
./configure --prefix=/usr --localstatedir=/var/state --sysconfdir=/etc \
--sbindir=/usr/bin --enable-silent-rules --with-init-style=systemd \
--with-cracklib --with-cnid-cdb-backend --enable-pgp-uam --with-libevent=no \
--enable-zeroconf=/usr/include/avahi-client
--with-cracklib --with-cnid-cdb-backend --enable-pgp-uam --with-libevent=no
make
}

View file

@ -7,7 +7,7 @@
pkgname=pjproject
pkgver=2.2.1
pkgrel=2.1
pkgrel=3
pkgdesc="Open source SIP stack and media stack"
arch=('i686' 'x86_64')
url="http://www.pjsip.org/"
@ -30,6 +30,7 @@ build() {
patch -p1 -i ../arm.patch
#./configure --prefix=/usr --with-external-speex --with-external-pa --disable-oss --enable-shared --disable-opencore-amr
./configure --prefix=/usr --with-external-speex --with-external-srtp --with-external-pa --with-external-gsm --disable-oss --enable-shared --disable-opencore-amr --disable-v4l2 --disable-video --disable-sound
echo "#define PJ_HAS_IPV6 1" >> "${srcdir}/${pkgname}-${pkgver}/pjlib/include/pj/config_site.h"
make -j1 dep
make -j1
}
@ -37,5 +38,5 @@ build() {
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make -j1 DESTDIR=${pkgdir} install
install -D -m755 pjsip-apps/bin/pjsua-*gnu* ${pkgdir}/usr/bin/pjsua
install -D -m755 pjsip-apps/bin/pjsua-*gnu ${pkgdir}/usr/bin/pjsua
}

View file

@ -1,7 +1,7 @@
pkgname=sabnzbd
_pkgname=SABnzbd
pkgver=0.7.17
pkgrel=1
pkgver=0.7.18
pkgrel=2
pkgdesc="A web-interface based binary newsgrabber with NZB file support"
url="http://www.sabnzbd.org"
arch=("any")
@ -14,7 +14,7 @@ install="${pkgname}.install"
backup=("etc/conf.d/sabnzbd" "opt/${pkgname}/${pkgname}.ini")
source=("http://downloads.sourceforge.net/sabnzbdplus/${_pkgname}-${pkgver}-src.tar.gz"
"${pkgname}" "${pkgname}.desktop" "addnzb.sh" "nzb-2.png" "sab2_64.png" "x-nzb.xml" "${pkgname}.service" "${pkgname}.confd")
md5sums=('5056006fb15d6e62654af9f80955eba3'
md5sums=('64d8b675da010dbd444c932bbb3112b6'
'48d60a1c626503c7fef1bc5374390513'
'f9bd5485072714b11f8c30a28024dc4d'
'69b9bcbcf67ff3e7a4cdd9f26e001341'

View file

@ -9,8 +9,10 @@ SABNZBD_DIR="/opt/sabnzbd" # should not be changed
## arg 1: the new package version
post_install() {
# add x-nzb mimetype
xdg-mime install --mode system "${SABNZBD_DIR}/x-nzb.xml"
xdg-icon-resource install --context mimetypes --size 64 "${SABNZBD_DIR}/nzb-2.png" application-x-nzb
if [[ -f /usr/bin/xdg-mime ]]; then
xdg-mime install --mode system "${SABNZBD_DIR}/x-nzb.xml"
xdg-icon-resource install --context mimetypes --size 64 "${SABNZBD_DIR}/nzb-2.png" application-x-nzb
fi
post_upgrade
@ -50,8 +52,10 @@ post_upgrade() {
pre_remove() {
pre_upgrade
xdg-mime uninstall --mode system "${SABNZBD_DIR}/x-nzb.xml"
xdg-icon-resource uninstall --context mimetypes --size 64 application-x-nzb
if [[ -f /usr/bin/xdg-mime ]]; then
xdg-mime uninstall --mode system "${SABNZBD_DIR}/x-nzb.xml"
xdg-icon-resource uninstall --context mimetypes --size 64 application-x-nzb
fi
}
## arg 1: the old package version