From 98ba4ae196183c2d9b1cc2d61cf1ee82302863e3 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 2 Dec 2012 01:27:08 -0800 Subject: Sun Dec 2 01:26:32 PST 2012 --- community/chmsee/PKGBUILD | 21 +++++++++--------- community/mksh/PKGBUILD | 24 +++++++++----------- community/pidgin-hotkeys/PKGBUILD | 31 ++++++++++++++++++++++++++ community/pidgin-hotkeys/pidgin-hotkeys.patch | 24 ++++++++++++++++++++ community/renameutils/PKGBUILD | 32 +++++++++++++++++++++++++++ community/yaws/PKGBUILD | 13 +++++++---- community/yaws/yaws.service | 12 ++++++++++ 7 files changed, 129 insertions(+), 28 deletions(-) create mode 100644 community/pidgin-hotkeys/PKGBUILD create mode 100644 community/pidgin-hotkeys/pidgin-hotkeys.patch create mode 100644 community/renameutils/PKGBUILD create mode 100644 community/yaws/yaws.service (limited to 'community') diff --git a/community/chmsee/PKGBUILD b/community/chmsee/PKGBUILD index 7f6a5d1a1..1f2ddd65c 100644 --- a/community/chmsee/PKGBUILD +++ b/community/chmsee/PKGBUILD @@ -1,34 +1,35 @@ -# $Id: PKGBUILD 78574 2012-10-21 09:16:19Z lcarlier $ +# $Id: PKGBUILD 80747 2012-12-01 21:09:55Z lcarlier $ # Maintainer : Laurent Carlier # Contributor: dionydonny # Contributor: Ermanno pkgname=chmsee -pkgver=1.99.13 -pkgrel=2 +pkgver=1.99.15 +pkgrel=1 arch=('i686' 'x86_64') pkgdesc="A chm (MS HTML help file format) viewer based on xulrunner." url="http://chmsee.googlecode.com/" license=('GPL') -depends=('xulrunner>=13.0' 'chmlib' 'desktop-file-utils') +depends=('xulrunner>=17.0' 'chmlib' 'desktop-file-utils') makedepends=('python2') -source=(chmsee-$pkgver.tar.gz::https://github.com/jungleji/chmsee/tarball/v$pkgver +#source=(chmsee-$pkgver.tar.gz::https://github.com/jungleji/chmsee/tarball/v$pkgver +source=(https://github.com/jungleji/chmsee/archive/b2a3c2ad32bfe9db067665ea1928d7e130d1b5e7.zip chmsee) install=chmsee.install -md5sums=('6ea077c593bdadaafb278cce9165fba2' +md5sums=('87a7adef3a120bae2f9b963596ddb593' '242a9390bc943cc38237fa71137fb26c') build() { - cd ${srcdir}/jungleji-chmsee-*/src + cd ${srcdir}/chmsee-*/src cp Makefile.arch Makefile - sed -i -e 's/15.*/16.*/g' ../application.ini + #sed -i -e 's/15.*/17.*/g' ../application.ini - make + make -j1 } package() { - cd ${srcdir}/jungleji-chmsee-* + cd ${srcdir}/chmsee-* install -d ${pkgdir}/usr/share/chmsee cp -a * ${pkgdir}/usr/share/chmsee diff --git a/community/mksh/PKGBUILD b/community/mksh/PKGBUILD index 342b5fd7b..061dd423b 100644 --- a/community/mksh/PKGBUILD +++ b/community/mksh/PKGBUILD @@ -1,28 +1,24 @@ -# $Id: PKGBUILD 68994 2012-04-07 09:57:09Z ttopper $ +# $Id: PKGBUILD 80731 2012-12-01 17:21:44Z ttoepper $ # Maintainer: Thorsten Töpper # Contributor: Daniel Hommel pkgname=mksh -pkgver=R40f +pkgver=R41 pkgrel=1 -pkgdesc="The MirBSD Korn Shell - an enhanced version of the public domain ksh" -url="http://mirbsd.de/mksh" -license=("custom") -makedepends=('cpio') +pkgdesc='The MirBSD Korn Shell - an enhanced version of the public domain ksh' +url='https://www.mirbsd.org/mksh.htm' +license=('custom') arch=('i686' 'x86_64') install=mksh.install -source=("https://www.mirbsd.org/MirOS/dist/mir/mksh/$pkgname-$pkgver.cpio.gz" - "https://www.mirbsd.org/TaC-mksh.txt") +source=("https://www.mirbsd.org/MirOS/dist/mir/mksh/$pkgname-$pkgver.tgz" + 'https://www.mirbsd.org/TaC-mksh.txt') depends=('gcc-libs') -md5sums=('22c9570660c2efadf36de7b620d06966' - '0016ef61a990bcd763604da7ae2beb25') +md5sums=('70eca50d9340412714ef09b7060ebde9' + '124164b14263f5ee09d2135fffce7282') build() { - cd "$srcdir" - # makepkg can't extract cpio files - cpio -mid < "$pkgname-$pkgver.cpio" - cd "$srcdir/$pkgname" + sh Build.sh -r -c lto ./test.sh gzip -n9 mksh.1 diff --git a/community/pidgin-hotkeys/PKGBUILD b/community/pidgin-hotkeys/PKGBUILD new file mode 100644 index 000000000..bd2130cab --- /dev/null +++ b/community/pidgin-hotkeys/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 80723 2012-12-01 13:56:24Z fyan $ +# Maintainer: Felix Yan +# Contributor: Lukas Fleischer +# Contributor: detto + +pkgname=pidgin-hotkeys +pkgver=0.2.4 +pkgrel=2 +pkgdesc="A Pidgin plugin that allows you to define global hotkeys." +arch=('i686' 'x86_64') +url="http://pidgin-hotkeys.sourceforge.net" +license=('GPL') +depends=('pidgin') +source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz" + "pidgin-hotkeys.patch") +md5sums=('553aae7319861af9e8716bfe0ba45c30' + '0726353af56270164d7af88470722dd0') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + patch -Np0 -i ../pidgin-hotkeys.patch + + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} diff --git a/community/pidgin-hotkeys/pidgin-hotkeys.patch b/community/pidgin-hotkeys/pidgin-hotkeys.patch new file mode 100644 index 000000000..427295981 --- /dev/null +++ b/community/pidgin-hotkeys/pidgin-hotkeys.patch @@ -0,0 +1,24 @@ +--- src/hotkeys.c 2007-06-22 20:37:00.000000000 +0200 ++++ src/hotkeys.c 2008-04-18 16:08:46.000000000 +0200 +@@ -152,15 +152,19 @@ + + if ((l = get_pending_list(1))) + { +- pidgin_conv_present_conversation((PurpleConversation *)l->data); ++ PurpleConversation *conv = l->data; ++ pidgin_conv_present_conversation(conv); + + #ifdef GDK_WINDOWING_X11 + { + GtkWindow *gtkwindow; ++ PidginConversation *gtkconv = PIDGIN_CONVERSATION(conv); + +- gtkwindow = GTK_WINDOW(pidgin_conv_get_window(PIDGIN_CONVERSATION((PurpleConversation *)l->data))->window); ++ gtkwindow = GTK_WINDOW(pidgin_conv_get_window(PIDGIN_CONVERSATION(conv))->window); + /*gtk_window_present(gtkwindow);*/ + hacky_active_window(GTK_WIDGET(gtkwindow)); ++ ++ pidgin_conv_window_switch_gtkconv(gtkconv->win, gtkconv); + } + #endif + g_list_free(l); diff --git a/community/renameutils/PKGBUILD b/community/renameutils/PKGBUILD new file mode 100644 index 000000000..143afa37b --- /dev/null +++ b/community/renameutils/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 80733 2012-12-01 17:49:39Z kkeen $ +# Maintainer: Jaroslav Lichtblau +# Contributor: Patrik Hautala + +pkgname=renameutils +pkgver=0.12.0 +pkgrel=2 +pkgdesc="A set of programs designed to make renaming of files faster and less cumbersome" +arch=('i686' 'x86_64') +url="http://www.nongnu.org/renameutils/" +license=('GPL') +depends=('readline') +source=(http://savannah.nongnu.org/download/$pkgname/$pkgname-$pkgver.tar.gz) +sha256sums=('cbd2f002027ccf5a923135c3f529c6d17fabbca7d85506a394ca37694a9eb4a3') + +build() { + cd "${srcdir}/$pkgname-$pkgver/src" + sed -i 's/($bindir)/$(bindir)/' Makefile.am + sed -i 's/($bindir)/$(bindir)/' Makefile.in + + cd "${srcdir}/$pkgname-$pkgver" + + ./configure --prefix=/usr + make +} + +package () { + cd "${srcdir}/$pkgname-$pkgver" + + install -d "${pkgdir}/usr/bin" + make DESTDIR="${pkgdir}" install +} diff --git a/community/yaws/PKGBUILD b/community/yaws/PKGBUILD index cab05c78f..3a5de89fa 100644 --- a/community/yaws/PKGBUILD +++ b/community/yaws/PKGBUILD @@ -1,10 +1,11 @@ -# $Id: PKGBUILD 80662 2012-11-28 22:06:10Z arodseth $ +# $Id: PKGBUILD 80743 2012-12-01 19:51:02Z arodseth $ # Maintainer: Vesa Kaihlavirta # Maintainer: Alexander Rødseth +# Contributor: Patrick Smits pkgname=yaws pkgver=1.95 -pkgrel=1 +pkgrel=3 pkgdesc='Yet Another Web Server, pure Erlang HTTP server/framework' arch=('x86_64' 'i686') url='http://yaws.hyber.org/' @@ -13,8 +14,10 @@ depends=('pam' 'erlang') backup=('etc/yaws/yaws.conf') options=('!emptydirs') install=$pkgname.install -source=("http://yaws.hyber.org/download/$pkgname-$pkgver.tar.gz") -sha256sums=('e4efae836561f5e8a1324a5c9ab63fb82468e9dc93dc95cb4cb6248ab6b95406') +source=("http://yaws.hyber.org/download/$pkgname-$pkgver.tar.gz" + "$pkgname.service") +sha256sums=('e4efae836561f5e8a1324a5c9ab63fb82468e9dc93dc95cb4cb6248ab6b95406' + 'cce672e0bc73f536186bdbb8ac139d8000db4bd67f5fdeff84fdc4b4f8bd84f9') build() { cd "$pkgname-$pkgver" @@ -34,6 +37,8 @@ package() { install -d "$pkgdir/usr/lib/erlang/lib" ln -s /usr/lib/yaws "$pkgdir/usr/lib/erlang/lib/$pkgname-$pkgver" install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm644 "$srcdir/$pkgname.service" \ + "$pkgdir/usr/lib/systemd/system/$pkgname.service" } # vim:set ts=2 sw=2 et: diff --git a/community/yaws/yaws.service b/community/yaws/yaws.service new file mode 100644 index 000000000..48f9bb8ef --- /dev/null +++ b/community/yaws/yaws.service @@ -0,0 +1,12 @@ +[Unit] +Description=A fast lightweight webserver. +After=syslog.target network.target + +[Service] +Type=forking +ExecStart=/usr/bin/yaws --daemon --heart +ExecReload=/usr/bin/yaws --hup +ExecStop=/usr/bin/yaws --stop + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3-54-g00ecf