Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=a5da5b8cab9fc6ee23931a0de40fa7c8b5c9075d
commit a5da5b8cab9fc6ee23931a0de40fa7c8b5c9075d Author: crazy <[email protected]> Date: Fri Feb 24 21:49:07 2017 +0100 bitlbee-3.5.1-1-x86_64 * Version bump * fixed most weird issues , still this package need some work diff --git a/source/network-extra/bitlbee/FrugalBuild b/source/network-extra/bitlbee/FrugalBuild index 290c84d..f6ca6bf 100644 --- a/source/network-extra/bitlbee/FrugalBuild +++ b/source/network-extra/bitlbee/FrugalBuild @@ -4,7 +4,7 @@ USE_DEVEL=${USE_DEVEL:-"n"} pkgname=bitlbee -pkgver=3.4.2 +pkgver=3.5.1 Fuse $USE_DEVEL && pkgver=3.0.2.772 pkgrel=1 pkgdesc="An IRC to other chat networks gateway." @@ -14,10 +14,10 @@ rodepends=("bitlbee-common=$pkgver-$pkgrel") makedepends=('docbook-xsl>=1.73.0-2' 'docbook-xml' 'xmlto' 'asciidoc') backup=(etc/biltbee/{bitlbee.conf,motd.txt}) groups=('network-extra') -archs=('i686' 'x86_64' 'arm') +archs=('x86_64') up2date="lynx -dump http://www.bitlbee.org/ |grep Stable |sed 's/.*: \(.*\)/\1/'" source=(http://get.bitlbee.org/src/$pkgname-$pkgver.tar.gz) -sha1sums=('c93eab4161754235a2bc04ba3dc0fc66ce2d34f2') +sha1sums=('de0767facdb7729253ae4d6ef6e3637ebd54939a') # nodocs, because docs go to the common package options=('scriptlet' 'nodocs') @@ -26,7 +26,7 @@ subdescs=('OTR support for BitlBee.' 'Skype support for BitlBee.' 'Common files subdepends=("libotr>=4.0.0" "" "glib2 gnutls>=3.4.2 systemd" "libpurple>=2.10.9") subrodepends=("$pkgname=$pkgver" "$pkgname=$pkgver" "" "bitlbee-common=$pkgver-$pkgrel") subgroups=('network-extra' 'network-extra' 'network-extra' 'network-extra') -subarchs=('i686 x86_64 arm' 'i686 x86_64 arm' 'i686 x86_64 arm' 'i686 x86_64 arm') +subarchs=('x86_64' 'x86_64' 'x86_64' 'x86_64') _F_systemd_scriptlet="$pkgname-common.install" _F_systemd_units=(bitlbee=e) @@ -45,7 +45,8 @@ build() { # First build the libpurple version Fmake --etcdir=/etc/bitlbee --purple=1 - make DESTDIR=$Fdestdir install-bin + Fexec make DESTDIR=$Fdestdir install-bin || Fdie + Fmv usr/sbin/$pkgname usr/sbin/$pkgname-libpurple Fsplit bitlbee-libpurple /usr/sbin Fexec make clean @@ -60,7 +61,7 @@ build() { Fsplit bitlbee-otr usr/lib/bitlbee/otr.so Fsplit bitlbee-skype etc/skyped usr/lib/bitlbee/skype.so usr/bin/skyped usr/share/man/man1/skyped* Fgenscriptlet - Fsplit bitlbee-common /etc /usr/bin /usr/include /usr/lib /usr/share /var + Fsplit bitlbee-common etc usr/bin usr/include usr/lib usr/share var } # optimization OK diff --git a/source/network-extra/bitlbee/bitlbee-common.install b/source/network-extra/bitlbee/bitlbee-common.install index ee4cbe2..817dec3 100644 --- a/source/network-extra/bitlbee/bitlbee-common.install +++ b/source/network-extra/bitlbee/bitlbee-common.install @@ -1,4 +1,3 @@ -sysvinit_units=(@_F_sysvinit_units@) systemd_units=(@_F_systemd_units@) post_install() @@ -9,10 +8,6 @@ post_install() local unit local op - for i in ${sysvinit_units[@]}; do - chkconfig --del rc.$i >/dev/null 2>&1 - done - for i in ${systemd_units[@]}; do unit=$(echo $i | cut -f 1 -d '=') op=$(echo $i | cut -f 2 -d '=') @@ -27,9 +22,6 @@ post_install() post_upgrade() { - for i in ${sysvinit_units[@]}; do - chkconfig --del rc.$i >/dev/null 2>&1 - done systemctl daemon-reload >/dev/null 2>&1 } @@ -38,10 +30,6 @@ pre_remove() { local unit - for i in ${sysvinit_units[@]}; do - chkconfig --del rc.$i >/dev/null 2>&1 - done - for i in ${systemd_units[@]}; do unit=$(echo $i | cut -f 1 -d '=') systemctl --no-reload disable $unit.service >/dev/null 2>&1 _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
