diff options
author | root <root@rshg054.dnsready.net> | 2011-08-30 23:14:43 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-08-30 23:14:43 +0000 |
commit | b82f11fd76e83d60504649838e60a235b394160f (patch) | |
tree | 4914b89dc1dbc3ea44ae87c567ac7e9fc821c529 /community | |
parent | e13fbaf2cbb72b7e8c8278ea94b70dd4a8ce48b2 (diff) |
Tue Aug 30 23:14:43 UTC 2011
Diffstat (limited to 'community')
-rw-r--r-- | community/couchdb/PKGBUILD | 4 | ||||
-rw-r--r-- | community/djview4/PKGBUILD | 17 | ||||
-rw-r--r-- | community/djview4/install | 4 | ||||
-rw-r--r-- | community/filezilla/PKGBUILD | 9 | ||||
-rw-r--r-- | community/minidlna/PKGBUILD | 16 | ||||
-rw-r--r-- | community/minidlna/changelog | 4 | ||||
-rwxr-xr-x | community/minidlna/minidlna.rc | 3 | ||||
-rw-r--r-- | community/nethogs/PKGBUILD | 11 | ||||
-rw-r--r-- | community/nginx/PKGBUILD | 16 | ||||
-rw-r--r-- | community/nginx/changelog | 4 | ||||
-rw-r--r-- | community/nginx/nginx | 2 | ||||
-rw-r--r-- | community/open-vm-tools-modules/PKGBUILD | 10 | ||||
-rw-r--r-- | community/open-vm-tools-modules/open-vm-tools-modules.install | 2 | ||||
-rw-r--r-- | community/open-vm-tools/PKGBUILD | 8 | ||||
-rw-r--r-- | community/unrealircd/PKGBUILD | 8 | ||||
-rw-r--r-- | community/unrealircd/arch-fixes.patch | 51 | ||||
-rw-r--r-- | community/yagf/PKGBUILD | 12 | ||||
-rw-r--r-- | community/yagf/yagf.install | 13 | ||||
-rw-r--r-- | community/zathura/PKGBUILD | 9 |
19 files changed, 134 insertions, 69 deletions
diff --git a/community/couchdb/PKGBUILD b/community/couchdb/PKGBUILD index db519cae8..656b713b7 100644 --- a/community/couchdb/PKGBUILD +++ b/community/couchdb/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 54686 2011-08-23 09:50:02Z spupykin $ +# $Id: PKGBUILD 54987 2011-08-29 12:53:53Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Vitaliy Berdinskikh ur6lad[at]i.ua # Previous Contributor: Michael Fellinger <m.fellinger@gmail.com> pkgname=couchdb pkgver=1.1.0 -pkgrel=1.svn20110823 +pkgrel=1.svn20110829 pkgdesc="A document-oriented database that can be queried and indexed in a MapReduce fashion using JSON" arch=('i686' 'x86_64') url="http://couchdb.apache.org" diff --git a/community/djview4/PKGBUILD b/community/djview4/PKGBUILD index 94cf3dfec..3923d1b2d 100644 --- a/community/djview4/PKGBUILD +++ b/community/djview4/PKGBUILD @@ -1,3 +1,4 @@ +# $Id: PKGBUILD 54964 2011-08-29 08:34:07Z bisson $ # Contributor: Paulo Matias <matiasΘarchlinux-br·org> # Contributor: Leslie P. Polzer <polzerΘgnu·org> # Contributor: erm67 <erm67Θyahoo·it> @@ -5,15 +6,16 @@ # Maintainer: Gaetan Bisson <bisson@archlinux.org> pkgname=djview4 -pkgver=4.7 +pkgver=4.8 pkgrel=1 pkgdesc='Portable DjVu viewer and browser plugin' -arch=('i686' 'x86_64') url='http://djvu.sourceforge.net/djview4.html' license=('GPL') +arch=('i686' 'x86_64') depends=('qt' 'djvulibre') source=("http://downloads.sourceforge.net/djvu/djview-${pkgver}.tar.gz") -sha1sums=('6c0c9c285caaf6211454c36898801c2eda799c8b') +sha1sums=('266d207afb63a1ee63eed054190bf88888fda572') + install=install build() { @@ -27,8 +29,9 @@ package() { cd "${srcdir}/djview-${pkgver}" make DESTDIR="${pkgdir}" install-djview install-nsdejavu - install -Dm644 desktopfiles/hi32-djview4.png "${pkgdir}"/usr/share/icons/hicolor/32x32/apps/djvulibre-djview4.png - install -Dm644 desktopfiles/hi64-djview4.png "${pkgdir}"/usr/share/icons/hicolor/64x64/apps/djvulibre-djview4.png - install -Dm644 desktopfiles/hi64-djview4.png "${pkgdir}"/usr/share/pixmaps/djvulibre-djview4.png - install -Dm644 desktopfiles/djvulibre-djview4.desktop "${pkgdir}"/usr/share/applications/djvulibre-djview4.desktop + cd desktopfiles + install -Dm644 hi32-djview4.png "${pkgdir}"/usr/share/icons/hicolor/32x32/apps/djvulibre-djview4.png + install -Dm644 hi64-djview4.png "${pkgdir}"/usr/share/icons/hicolor/64x64/apps/djvulibre-djview4.png + install -Dm644 hi64-djview4.png "${pkgdir}"/usr/share/pixmaps/djvulibre-djview4.png + install -Dm644 djvulibre-djview4.desktop "${pkgdir}"/usr/share/applications/djvulibre-djview4.desktop } diff --git a/community/djview4/install b/community/djview4/install index e70c054ec..f2bd04ceb 100644 --- a/community/djview4/install +++ b/community/djview4/install @@ -1,5 +1,7 @@ post_install() { - xdg-icon-resource forceupdate --theme hicolor &> /dev/null + if type xdg-icon-resource &>/dev/null; then + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + fi } post_upgrade() { diff --git a/community/filezilla/PKGBUILD b/community/filezilla/PKGBUILD index 3e422ffcb..b9d467799 100644 --- a/community/filezilla/PKGBUILD +++ b/community/filezilla/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 54445 2011-08-18 15:06:21Z bluewind $ +# $Id: PKGBUILD 54980 2011-08-29 11:06:13Z bluewind $ # Contributor: Alexander Fehr <pizzapunk gmail com> # Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> pkgname=filezilla -pkgver=3.5.0 -pkgrel=2 +pkgver=3.5.1 +pkgrel=1 pkgdesc="Fast and reliable FTP, FTPS and SFTP client" arch=('i686' 'x86_64') url="http://filezilla-project.org/" @@ -12,7 +12,7 @@ license=('GPL') depends=('dbus-core' 'xdg-utils' 'wxgtk' 'libidn' 'hicolor-icon-theme' 'sqlite3') install=filezilla.install source=("http://downloads.sourceforge.net/project/filezilla/FileZilla_Client/${pkgver}/FileZilla_${pkgver}_src.tar.bz2") -md5sums=('25617d75167d07c0d3cfced69a4cf7cc') +md5sums=('8afb7aee4ba72b6363dcfe469bc7fbef') build() { cd ${pkgname}-${pkgver} @@ -32,4 +32,3 @@ package() { make DESTDIR=${pkgdir} install } -md5sums=('6a83c3afe99c2679d5a3aa73607d80a7') diff --git a/community/minidlna/PKGBUILD b/community/minidlna/PKGBUILD index 3519f0e90..fb3f6e59e 100644 --- a/community/minidlna/PKGBUILD +++ b/community/minidlna/PKGBUILD @@ -1,23 +1,25 @@ -# $Id: PKGBUILD 52058 2011-07-19 20:43:20Z spupykin $ +# $Id: PKGBUILD 54993 2011-08-29 20:53:40Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer:Biginoz < biginoz AT free point fr> # Contributor: Ignacio Galmarino <igalmarino@gmail.com> # Contributor: Matthias Sobczyk <matthias.sobczyk@googlemail.com> pkgname=minidlna -pkgver=1.0.21 -pkgrel=1 +pkgver=1.0.22 +pkgrel=3 pkgdesc="A DLNA/UPnP-AV Media server (aka ReadyDLNA)" arch=('i686' 'x86_64') url="http://sourceforge.net/projects/minidlna/" license=('GPL') depends=('libexif' 'libjpeg' 'libid3tag' 'flac' 'libvorbis' 'ffmpeg' 'sqlite3') conflicts=('minidlna-cvs') -backup=('etc/minidlna.conf') +backup=('etc/minidlna.conf' + 'etc/conf.d/minidlna') +changelog=changelog source=(http://downloads.sourceforge.net/minidlna/minidlna_${pkgver}_src.tar.gz minidlna.rc) -md5sums=('a53e0008ad225843a1782e4af6e5bf0b' - '80c423f003894ad15d7de41f3ed342c0') +md5sums=('3de2f6b54f43bb998dfad3c8fa75cef3' + '8b064a6c344a3ad8029e2619dfe07b77') build() { cd "$srcdir/$pkgname-$pkgver" @@ -28,4 +30,6 @@ package() { cd "$srcdir/$pkgname-$pkgver" DESTDIR=$pkgdir make install install -D -m755 ${srcdir}/minidlna.rc ${pkgdir}/etc/rc.d/minidlna + mkdir -p $pkgdir/etc/conf.d + echo 'MINIDLNA_USER=nobody' >$pkgdir/etc/conf.d/minidlna } diff --git a/community/minidlna/changelog b/community/minidlna/changelog new file mode 100644 index 000000000..35bf6239c --- /dev/null +++ b/community/minidlna/changelog @@ -0,0 +1,4 @@ +2011-08-29 Sergej Pupykin <sergej@p5n.pp.ru> + + * 1.0.22-3 : + add user configuration to /etc/conf.d/minidlna diff --git a/community/minidlna/minidlna.rc b/community/minidlna/minidlna.rc index e4ca0969f..df44a549f 100755 --- a/community/minidlna/minidlna.rc +++ b/community/minidlna/minidlna.rc @@ -3,13 +3,14 @@ . /etc/rc.conf . /etc/rc.d/functions . /etc/minidlna.conf +. /etc/conf.d/minidlna PID=`pidof -o %PPID /usr/sbin/minidlna` case "$1" in start) stat_busy "Starting minidlna" - [ -z "$PID" ] && /usr/sbin/minidlna + [ -z "$PID" ] && su -s /bin/sh -l -c /usr/sbin/minidlna - $MINIDLNA_USER if [ $? -gt 0 ]; then stat_fail else diff --git a/community/nethogs/PKGBUILD b/community/nethogs/PKGBUILD index 3ed0be492..2c2567195 100644 --- a/community/nethogs/PKGBUILD +++ b/community/nethogs/PKGBUILD @@ -1,29 +1,28 @@ +# $Id: PKGBUILD 54960 2011-08-29 07:11:32Z kkeen $ # Maintainer: Kyle Keen <keenerd@gmail.com> # Contributor: ViNS <gladiator@fastwebnet.it> # Contributor: Daenyth pkgname=nethogs -pkgver=0.7.0 -pkgrel=4 +pkgver=0.8.0 +pkgrel=1 pkgdesc="A net top tool which displays traffic used per process instead of per IP or interface" url="http://nethogs.sourceforge.net" license=(GPL) depends=(libpcap ncurses gcc-libs) arch=(i686 x86_64) source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz gcc44.patch) -md5sums=('e5f04071571e469e14c89f637cfa34a2' +md5sums=('d6fb12b46e80a50c9b9f91dd48e2b234' '62eb824fbbadd1c60d0749593c16d293') build() { cd "$srcdir/$pkgname" - sed -i '/sbin :=/ s/sbin/bin/g' Makefile + sed -i 's/sbin/bin/g' Makefile # Patch the code to work with gcc 4.4 patch -Np1 -i "$srcdir/gcc44.patch" make - install -d "$pkgdir/usr/bin" - install -d "$pkgdir/usr/share/man/man8" make DESTDIR="$pkgdir/usr" install } # vim:set ts=2 sw=2 et: diff --git a/community/nginx/PKGBUILD b/community/nginx/PKGBUILD index 3c033eb3e..c014840e9 100644 --- a/community/nginx/PKGBUILD +++ b/community/nginx/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 52187 2011-07-21 14:19:08Z spupykin $ +# $Id: PKGBUILD 54994 2011-08-29 20:55:17Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Miroslaw Szot <mss@czlug.icis.pcz.pl> -_doc_root=/srv/http/nginx +_doc_root=/usr/share/nginx/http _server_root=/etc/nginx _conf_path=${_server_root}/conf _tmp_path=/var/spool/nginx @@ -11,7 +11,7 @@ _user=http _group=http pkgname=nginx -pkgver=1.0.5 +pkgver=1.0.6 pkgrel=1 pkgdesc="lightweight HTTP server and IMAP/POP3 proxy server" arch=('i686' 'x86_64') @@ -24,11 +24,13 @@ backup=("etc/nginx/conf/nginx.conf" "etc/nginx/conf/win-utf" "etc/nginx/conf/mime.types" "etc/nginx/conf/fastcgi_params" - "etc/logrotate.d/nginx") -source=(http://sysoev.ru/nginx/nginx-${pkgver}.tar.gz + "etc/logrotate.d/nginx" + "etc/conf.d/nginx") +changelog=changelog +source=(http://nginx.org/download/nginx-$pkgver.tar.gz nginx) -md5sums=('373c7761a7c682b92b164c8ee3d6d243' - '7e7cafa43a59762b81c4da64e49eca69') +md5sums=('bc98bac3f0b85da1045bc02e6d8fc80d' + '0e8032d3ba26c3276e8c7c30588d375f') build() { cd $srcdir/nginx-${pkgver} diff --git a/community/nginx/changelog b/community/nginx/changelog new file mode 100644 index 000000000..9f2ffcfc8 --- /dev/null +++ b/community/nginx/changelog @@ -0,0 +1,4 @@ +2011-08-29 Sergej Pupykin <sergej@p5n.pp.ru> + + * 1.0.6-1 : + move /srv/http to /usr/share/nginx/http diff --git a/community/nginx/nginx b/community/nginx/nginx index 811656eed..9de10e99a 100644 --- a/community/nginx/nginx +++ b/community/nginx/nginx @@ -41,7 +41,7 @@ case "$1" in ;; stop) stat_busy "Stopping Nginx" - NGINX_PID=`cat /var/run/nginx.pid` + NGINX_PID=`cat /var/run/nginx.pid 2>/dev/null` kill -QUIT $NGINX_PID &>/dev/null if [ $? -ne 0 ]; then stat_fail diff --git a/community/open-vm-tools-modules/PKGBUILD b/community/open-vm-tools-modules/PKGBUILD index 7240ccc97..f3e9fa8e8 100644 --- a/community/open-vm-tools-modules/PKGBUILD +++ b/community/open-vm-tools-modules/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 53790 2011-08-08 08:19:14Z spupykin $ +# $Id: PKGBUILD 54998 2011-08-29 21:00:59Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Krzysztof Raczkowski <raczkow@gmail.com> pkgname=open-vm-tools-modules -pkgver=2011.07.19 -_pkgsubver=450511 -pkgrel=2 +pkgver=2011.08.21 +_pkgsubver=471295 +pkgrel=1 pkgdesc="The Open Virtual Machine Tools (open-vm-tools) are the open source implementation of VMware Tools" arch=('i686' 'x86_64') url="http://open-vm-tools.sourceforge.net/" @@ -14,7 +14,7 @@ makedepends=('libdnet' 'icu' 'uriparser' 'linux-headers') depends=("linux") install=$pkgname.install source=("http://downloads.sourceforge.net/open-vm-tools/open-vm-tools-$pkgver-${_pkgsubver}.tar.gz") -md5sums=('efe9b078045e9f7ea1e1311bf11857e6') +md5sums=('fd32f03ab6068c265597a74b916ca81e') build() { cd "$srcdir/open-vm-tools-${pkgver}-${_pkgsubver}" diff --git a/community/open-vm-tools-modules/open-vm-tools-modules.install b/community/open-vm-tools-modules/open-vm-tools-modules.install index 8de8d6ec5..801d2c5b3 100644 --- a/community/open-vm-tools-modules/open-vm-tools-modules.install +++ b/community/open-vm-tools-modules/open-vm-tools-modules.install @@ -2,7 +2,7 @@ KERNEL_VERSION='2.6.38-ARCH' post_install() { depmod -a -v $KERNEL_VERSION > /dev/null 2>&1 - + VMXNET="install pcnet32 /sbin/modprobe -q --ignore-install vmxnet;" VMXNET="$VMXNET /sbin/modprobe -q --ignore-install pcnet32 $CMDLINE_OPTS;" VMXNET="$VMXNET /bin/true;" diff --git a/community/open-vm-tools/PKGBUILD b/community/open-vm-tools/PKGBUILD index 92e48c99b..e188d1a81 100644 --- a/community/open-vm-tools/PKGBUILD +++ b/community/open-vm-tools/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 52415 2011-07-24 20:39:18Z spupykin $ +# $Id: PKGBUILD 54996 2011-08-29 20:59:45Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Krzysztof Raczkowski <raczkow@gmail.com> pkgname=open-vm-tools -pkgver=2011.07.19 -_pkgsubver=450511 +pkgver=2011.08.21 +_pkgsubver=471295 pkgrel=1 pkgdesc="The Open Virtual Machine Tools (open-vm-tools) are the open source implementation of VMware Tools." arch=('i686' 'x86_64') @@ -24,7 +24,7 @@ source=(http://switch.dl.sourceforge.net/$pkgname/$pkgname-$pkgver-${_pkgsubver} tools.conf vmware-guestd xautostart.conf) -md5sums=('efe9b078045e9f7ea1e1311bf11857e6' +md5sums=('fd32f03ab6068c265597a74b916ca81e' '06f7448e274db2a911f582e276088fc9' 'b183ec265200d68431a5e4eb1b0c8cf5' '8c333a979578bdc0c3134c1dd6bb7353' diff --git a/community/unrealircd/PKGBUILD b/community/unrealircd/PKGBUILD index bcb80f277..e0b22e2e4 100644 --- a/community/unrealircd/PKGBUILD +++ b/community/unrealircd/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 54707 2011-08-23 12:04:07Z spupykin $ +# $Id: PKGBUILD 54970 2011-08-29 09:48:35Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Zerial <fernando@zerial.org> pkgname=unrealircd pkgver=3.2.8.1 -pkgrel=7 -pkgdesc="Open Source IRC Server." +pkgrel=8 +pkgdesc="Open Source IRC Server" arch=('i686' 'x86_64') url="http://unrealircd.com" license=('GPL2') @@ -18,7 +18,7 @@ source=(http://www.unrealircd.com/downloads/Unreal$pkgver.tar.gz arch-fixes.patch) md5sums=('7b741e94e867c0a7370553fd01506c66' '0d728240132a97a2cef61be9558750b1' - '670f0a5ecd60789cd5f296a1901cf1b7') + '77807313c4578f2c30286b9f9e3fb21c') build() { mkdir -p $pkgdir/etc/unrealircd diff --git a/community/unrealircd/arch-fixes.patch b/community/unrealircd/arch-fixes.patch index 02bbb18b3..a1741968d 100644 --- a/community/unrealircd/arch-fixes.patch +++ b/community/unrealircd/arch-fixes.patch @@ -1,6 +1,6 @@ -diff -wbBur Unreal3.2/doc/example.conf Unreal3.2.my/doc/example.conf ---- Unreal3.2/doc/example.conf 2009-04-13 15:03:55.000000000 +0400 -+++ Unreal3.2.my/doc/example.conf 2011-08-23 15:48:46.000000000 +0400 +diff -wbBur Unreal3.2.org/doc/example.conf Unreal3.2/doc/example.conf +--- Unreal3.2.org/doc/example.conf 2009-04-13 15:03:55.000000000 +0400 ++++ Unreal3.2/doc/example.conf 2011-08-29 13:39:25.000000000 +0400 @@ -33,8 +33,8 @@ */ @@ -12,9 +12,9 @@ diff -wbBur Unreal3.2/doc/example.conf Unreal3.2.my/doc/example.conf /* FOR Windows, uncomment the following 2 lines: */ //loadmodule "modules/commands.dll"; -diff -wbBur Unreal3.2/src/ircd.c Unreal3.2.my/src/ircd.c ---- Unreal3.2/src/ircd.c 2009-03-01 21:37:58.000000000 +0300 -+++ Unreal3.2.my/src/ircd.c 2011-08-23 15:44:30.000000000 +0400 +diff -wbBur Unreal3.2.org/src/ircd.c Unreal3.2/src/ircd.c +--- Unreal3.2.org/src/ircd.c 2009-03-01 21:37:58.000000000 +0300 ++++ Unreal3.2/src/ircd.c 2011-08-29 13:39:25.000000000 +0400 @@ -844,7 +844,7 @@ const char *compiledfor, *runtime; int error = 0; @@ -42,9 +42,9 @@ diff -wbBur Unreal3.2/src/ircd.c Unreal3.2.my/src/ircd.c /* Perhaps someone should tell them to do this a bit more easy ;) * problem is runtime output is like: 'libcurl/7.11.1 zlib/1.2.1 c-ares/1.2.0' * while header output is like: '7.11.1'. -diff -wbBur Unreal3.2/unreal.in Unreal3.2.my/unreal.in ---- Unreal3.2/unreal.in 2009-03-01 21:37:55.000000000 +0300 -+++ Unreal3.2.my/unreal.in 2011-08-23 15:49:20.000000000 +0400 +diff -wbBur Unreal3.2.org/unreal.in Unreal3.2/unreal.in +--- Unreal3.2.org/unreal.in 2009-03-01 21:37:55.000000000 +0300 ++++ Unreal3.2/unreal.in 2011-08-29 13:39:37.000000000 +0400 @@ -7,7 +7,7 @@ if [ -r $PID_FILE ] ; then mv -f $PID_FILE $PID_BACKUP @@ -54,3 +54,36 @@ diff -wbBur Unreal3.2/unreal.in Unreal3.2.my/unreal.in sleep 1 if [ ! -r $PID_FILE ] ; then echo "Possible error encountered (IRCd seemingly not started)" +@@ -31,11 +31,11 @@ + echo "Restarting UnrealIRCd" + kill -2 `cat $PID_FILE` + elif [ "$1" = "mkpasswd" ] ; then +- @BINDIR@ -P $2 $3 ++ @BINDIR@/ircd -P $2 $3 + elif [ "$1" = "version" ] ; then +- @BINDIR@ -v ++ @BINDIR@/ircd -v + elif [ "$1" = "gencloak" ] ; then +- @BINDIR@ -k ++ @BINDIR@/ircd -k + elif [ "$1" = "backtrace" ] ; then + cd @IRCDDIR@ + +@@ -90,7 +90,7 @@ + fi + + # Some ugly prepare work -- ignore errors +- (echo quit|gdb @BINDIR@ $corefile 2>&1)|\ ++ (echo quit|gdb @BINDIR@/ircd $corefile 2>&1)|\ + grep -i 'no such file'|\ + awk -F ':' '{ print $1 }'|sort|uniq|\ + awk -F '.' "{ system(\"ln -s ../$modpath/\" \$2 \".so \" \$0) }" +@@ -110,7 +110,7 @@ + quit + __EOF__ + +- gdb -batch -x gdb.commands @BINDIR@ $corefile ++ gdb -batch -x gdb.commands @BINDIR@/ircd $corefile + rm -f gdb.commands + echo "GCC: `gcc -v 2>&1|tail -n 1`" + echo "UNAME: `uname -a`" diff --git a/community/yagf/PKGBUILD b/community/yagf/PKGBUILD index 048e35c59..51438b1a5 100644 --- a/community/yagf/PKGBUILD +++ b/community/yagf/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 45032 2011-04-14 09:33:23Z spupykin $ +# $Id: PKGBUILD 54990 2011-08-29 13:12:11Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: das-ich <das-ich@yandex.ru> pkgname=yagf -pkgver=0.8.6 +pkgver=0.8.7 pkgrel=1 pkgdesc="QT4-based GUI for Cuneiform OCR" arch=(i686 x86_64) @@ -12,12 +12,14 @@ license=('GPL') depends=('cuneiform' 'qt>=4.3' 'aspell') optdepends=('xsane: acquire images from a scanner into YAGF directly') makedepends=('cmake') -source=(http://symmetrica.net/cuneiform-linux/${pkgname}-${pkgver}-Source.tar.gz) -md5sums=('16582668d9ae34567c4f159c3208bfca') +install=yagf.install +source=(http://symmetrica.net/cuneiform-linux/${pkgname}-${pkgver}.tar.gz) +md5sums=('a05635b4d50058b18891dbb5b3ff09ab') build() { - cd "${srcdir}/${pkgname}-${pkgver}-Source" + cd "${srcdir}/${pkgname}-${pkgver}" cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release . make make DESTDIR=${pkgdir} install + [ -d $pkgdir/usr/lib64 ] && mv $pkgdir/usr/lib64 $pkgdir/usr/lib || true } diff --git a/community/yagf/yagf.install b/community/yagf/yagf.install new file mode 100644 index 000000000..1eb57303c --- /dev/null +++ b/community/yagf/yagf.install @@ -0,0 +1,13 @@ +post_install() { + [ -x `which update-mime-database` ] && update-mime-database usr/share/mime + [ -x `which gtk-update-icon-cache` ] && gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + bin/true +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} diff --git a/community/zathura/PKGBUILD b/community/zathura/PKGBUILD index ee0c7a48e..1bea4c391 100644 --- a/community/zathura/PKGBUILD +++ b/community/zathura/PKGBUILD @@ -1,15 +1,16 @@ -# $Id: PKGBUILD 51680 2011-07-13 07:32:38Z spupykin $ +# $Id: PKGBUILD 54972 2011-08-29 09:50:03Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: ML <neldoreth> pkgname=zathura pkgver=0.0.8.4 -pkgrel=1 +pkgrel=2 pkgdesc="a PDF viewer" arch=('i686' 'x86_64') url="http://zathura.pwmt.org" license=('custom') depends=('poppler-glib' 'gtk2' 'cairo') +makedepends=('docutils') install=zathura.install DLAGENTS=('http::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u' 'https::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u') @@ -23,8 +24,6 @@ build() { package() { cd $srcdir/zathura-$pkgver - install -D -m775 zathura "$pkgdir/usr/bin/zathura" - install -D -m664 zathura.1 "$pkgdir/usr/share/man/man1/zathura.1" + make install DESTDIR=$pkgdir install -D -m664 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - install -D -m664 zathura.desktop "$pkgdir/usr/share/applications/zathura.desktop" } |